[issue44672] Final "pass" is traced incorrectly in 3.9 (and before)

Mark Shannon report at bugs.python.org
Mon Jul 19 09:43:52 EDT 2021


Mark Shannon <mark at hotpy.org> added the comment:

I say no, for a couple of reasons.

1. PEP 626 only applies to 3.10 onwards
2. The bytecode optimizer in 3.9 doesn't understand line numbers.
Changing it would be a lot of effort and likely to introduce more bugs than it fixes.

Ultimately it is Łukasz's decision, though.

----------
nosy: +lukasz.langa

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44672>
_______________________________________


More information about the Python-bugs-list mailing list