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 rhettinger
Recipients benjamin.peterson, georg.brandl, rhettinger, tim.peters
Date 2009-02-17.02:30:42
SpamBayes Score 0.061750792
Marked as misclassified No
Message-id <1234837844.51.0.393283109122.issue1283110@psf.upfronthosting.co.za>
In-reply-to
Content
It should still be documented that __len__ can be used for this purpose.

The __length_hint__ attribute is mainly for iterators because they are
not allowed to have a __len__ as that would affect their boolean value.
History
Date User Action Args
2009-02-17 02:30:44rhettingersetrecipients: + rhettinger, tim.peters, georg.brandl, benjamin.peterson
2009-02-17 02:30:44rhettingersetmessageid: <1234837844.51.0.393283109122.issue1283110@psf.upfronthosting.co.za>
2009-02-17 02:30:42rhettingerlinkissue1283110 messages
2009-02-17 02:30:42rhettingercreate