[issue34880] About the "assert" bytecode
Neil Schemenauer
report at bugs.python.org
Wed Oct 3 12:10:43 EDT 2018
Neil Schemenauer <nas-python at arctrix.com> added the comment:
Assuming it is not crazy complicated to fix, I would like to to be changed. It should work like the TypeError example. That fact that it has worked the current way since Python 1.5 isn't a strong argument. I think no one should be surprised if it changes. Also, expecting other Python implementations to match the LOAD_GLOBAL behavior seems to put unnecessary burden on them. If someone writes code that relies on that behavior, they should not be surprised if it gets broken, IMHO.
----------
nosy: +nascheme
status: pending -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34880>
_______________________________________
More information about the Python-bugs-list
mailing list