[issue42693] "if 0:" lines are traced; they didn't use to be

Ned Batchelder report at bugs.python.org
Mon Dec 21 05:16:14 EST 2020


Ned Batchelder <ned at nedbatchelder.com> added the comment:

Previous versions of Python completely removed the "if 0:" statement, because it would have no effect.  The condition was checked at compile time, effectively.  It seems odd for 3.10 to add it back in.

----------

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


More information about the Python-bugs-list mailing list