This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dennis Sweeney
Recipients Dennis Sweeney, Mark.Shannon, zq1997
Date 2021-12-23.08:53:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640249586.33.0.776066099979.issue46161@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2021-12-23 08:53:06Dennis Sweeneysetrecipients: + Dennis Sweeney, Mark.Shannon, zq1997
2021-12-23 08:53:06Dennis Sweeneysetmessageid: <1640249586.33.0.776066099979.issue46161@roundup.psfhosted.org>
2021-12-23 08:53:06Dennis Sweeneylinkissue46161 messages
2021-12-23 08:53:06Dennis Sweeneycreate