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 pjenvey
Recipients pjenvey
Date 2012-07-15.00:14:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342311280.51.0.844161517469.issue15354@psf.upfronthosting.co.za>
In-reply-to
Content
The __length_hint__ optimization was broken a while ago for many iterators due to a bug introduced in 44c090c74202. It only accepts longs as valid hints, not ints

This affects 2.6 too (but that's in security-only fix mode), but not 3.x
History
Date User Action Args
2012-07-15 00:14:40pjenveysetrecipients: + pjenvey
2012-07-15 00:14:40pjenveysetmessageid: <1342311280.51.0.844161517469.issue15354@psf.upfronthosting.co.za>
2012-07-15 00:14:39pjenveylinkissue15354 messages
2012-07-15 00:14:38pjenveycreate