Closed EmmaJaneBonestell closed 1 year ago
Could you make a PR against main with the fix and a test ?
I do not usually make bugfix release for anything but the last version. Do you have a particular need for a bugfix on 0.13 ?
I do not usually make bugfix release for anything but the last version. Do you have a particular need for a bugfix on 0.13 ?
Those still using Python 3.6 or 3.7 won't be able to upgrade to a version with the bugfix
Could you make a PR against main with the fix and a test ?
I do not usually make bugfix release for anything but the last version. Do you have a particular need for a bugfix on 0.13 ?
Yes, I'll submit it within the next day.
And I requested it simply because Pynguin is currently dependent on version 0.13 and using 0.14 didn't appear to be a simple replacement, but I didn't look too closely.
Those still using Python 3.6 or 3.7 won't be able to upgrade to a version with the bugfix
That's true as well.
When running Pynguin (https://github.com/se2p/pynguin) on certain programs (like https://github.com/bottlepy/bottle) , I am running into this error (https://github.com/python/cpython/issues/89918), but obviously arising from
bytecode
, notdis
.The trace and exact error changes betweem 0.13/0.14 of
bytecode
, but the issue stems from the same area.You may reproduce it with the following modified example (from the above CPytho n error), either as a script or in a REPL:
On 0.14, this will give:
For the reproducer at least, the following addition seems to have worked around the problem: https://github.com/MatthieuDartiailh/bytecode/blob/75948ede3a4ed70d28b3220d4399ac7516734f1e/src/bytecode/concrete.py#L741-L752
It would be nice if this could be backported to at least 0.13 as well, which would instead be lines 370 to 372 of concrete.py.