commit | 85dbec6da74d4e5e83d0ff9c03155ecef8feea83 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Nov 04 19:25:22 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Nov 04 19:25:22 2006 +0000 |
tree | 98532558dae02efb86e36d8fcac7aefa695a1ea5 | |
parent | 5310e5078ad331631f109e8fa33b8534911f0ce0 [diff] |
Bug #1588287: fix invalid assertion for `1,2` in debug builds. Will backport
diff --git a/Python/ast.c b/Python/ast.c index f490268..dcf7f2b 100644 --- a/Python/ast.c +++ b/Python/ast.c
@@ -532,6 +532,7 @@ || 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);