Message409073
Bisected to here:
13bc13960cc83dbd1cb5701d9a59ac9b9144b205 is the first bad commit
commit 13bc13960cc83dbd1cb5701d9a59ac9b9144b205
Author: Mark Shannon <mark@hotpy.org>
Date: Thu Jan 23 09:25:17 2020 +0000
bpo-39320: Handle unpacking of *values in compiler (GH-17984)
* Add three new bytecodes: LIST_TO_TUPLE, LIST_EXTEND, SET_UPDATE. Use them to implement star unpacking expressions.
* Remove four bytecodes BUILD_LIST_UNPACK, BUILD_TUPLE_UNPACK, BUILD_SET_UNPACK and BUILD_TUPLE_UNPACK_WITH_CALL opcodes as they are now unused.
* Update magic number and dis.rst for new bytecodes.
In debug mode, the following code gives fails a C-level assertion:
d = {'metaclass': type}
for _ in [1]:
class A(1, 2, 3, **d):
pass
Assertion failed: b->b_startdepth < 0 || b->b_startdepth == depth, file compile.c, line 6959 |
|
Date |
User |
Action |
Args |
2021-12-23 08:53:06 | Dennis Sweeney | set | recipients:
+ Dennis Sweeney, Mark.Shannon, zq1997 |
2021-12-23 08:53:06 | Dennis Sweeney | set | messageid: <1640249586.33.0.776066099979.issue46161@roundup.psfhosted.org> |
2021-12-23 08:53:06 | Dennis Sweeney | link | issue46161 messages |
2021-12-23 08:53:06 | Dennis Sweeney | create | |
|