[issue35597] Bug in Python's compiler

Stefan Behnel report at bugs.python.org
Thu Dec 27 11:34:46 EST 2018


Stefan Behnel <stefan_ml at behnel.de> added the comment:

I have no doubts that the code is right. However, your expectations might not be.

Try to print the values inside of the loop, for each iteration, as well as their type. You'll likely be surprised what that gives.

(In any case, this is not a bug. If you need help in understanding what's going on here, please ask on the Python mailing list, or consult a local Python meetup.)

----------
nosy: +scoder, tim.peters
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list