This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients Fady shehata, paul.moore, scoder, steve.dower, tim.golden, tim.peters, zach.ware
Date 2018-12-27.16:34:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545928486.91.0.646356673843.issue35597@roundup.psfhosted.org>
In-reply-to
Content
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.)
History
Date User Action Args
2018-12-27 16:34:49scodersetrecipients: + scoder, tim.peters, paul.moore, tim.golden, zach.ware, steve.dower, Fady shehata
2018-12-27 16:34:46scodersetmessageid: <1545928486.91.0.646356673843.issue35597@roundup.psfhosted.org>
2018-12-27 16:34:18scoderlinkissue35597 messages
2018-12-27 16:34:18scodercreate