Stefan Behnel <stefan...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue35597>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to