From 85dbec6da74d4e5e83d0ff9c03155ecef8feea83 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sat, 4 Nov 2006 19:25:22 +0000 Subject: Bug #1588287: fix invalid assertion for `1,2` in debug builds. Will backport --- Python/ast.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python') 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); -- cgit v1.2.1