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 xiang.zhang
Recipients Claudiu Saftoiu, xiang.zhang
Date 2016-08-04.07:39:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470296374.31.0.641235454195.issue27678@psf.upfronthosting.co.za>
In-reply-to
Content
You have to exhausts the iterator to get the actual length. Some iterators have __length_hint__ but it's not required to give the truth.
History
Date User Action Args
2016-08-04 07:39:34xiang.zhangsetrecipients: + xiang.zhang, Claudiu Saftoiu
2016-08-04 07:39:34xiang.zhangsetmessageid: <1470296374.31.0.641235454195.issue27678@psf.upfronthosting.co.za>
2016-08-04 07:39:34xiang.zhanglinkissue27678 messages
2016-08-04 07:39:34xiang.zhangcreate