diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-11-04 19:25:22 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-11-04 19:25:22 +0000 |
commit | 85dbec6da74d4e5e83d0ff9c03155ecef8feea83 (patch) | |
tree | 98532558dae02efb86e36d8fcac7aefa695a1ea5 /Python/ast.c | |
parent | 5310e5078ad331631f109e8fa33b8534911f0ce0 (diff) | |
download | cpython-git-85dbec6da74d4e5e83d0ff9c03155ecef8feea83.tar.gz |
Bug #1588287: fix invalid assertion for `1,2` in debug builds.
Will backport
Diffstat (limited to 'Python/ast.c')
-rw-r--r-- | Python/ast.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ast.c b/Python/ast.c index f49026807f..dcf7f2b3ab 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -532,6 +532,7 @@ seq_for_testlist(struct compiling *c, const node *n) || TYPE(n) == listmaker || TYPE(n) == testlist_gexp || TYPE(n) == testlist_safe + || TYPE(n) == testlist1 ); seq = asdl_seq_new((NCH(n) + 1) / 2, c->c_arena); |