mirror of
https://github.com/python/cpython.git
synced 2025-07-27 13:14:41 +00:00
Bug #1588287: fix invalid assertion for 1,2
in debug builds.
Will backport
This commit is contained in:
parent
5310e5078a
commit
85dbec6da7
3 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue