homepage

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 Winterflower
Recipients Arfrever, Rostyslav.Dzinko, Winterflower, benjamin.peterson, docs@python, georg.brandl, terry.reedy, vstinner
Date 2016年01月01日.22:31:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451687490.55.0.838298499481.issue15718@psf.upfronthosting.co.za>
In-reply-to
Content
The deficiency noticed by Terry has been at least partially corrected in the len() docs
https://docs.python.org/2/library/functions.html#len
Return the length (the number of items) of an object. The argument may be a sequence (such as a string, bytes, tuple, list, or range) or a collection (such as a dictionary, set, or frozen set).
It doesn't mention the fact that the collection has to implement __len__, but I suppose that might be obvious to experienced Python users (isn't obvious to a beginner like me, though). So perhaps this might be a welcome clarification. 
The issue regarding OverflowError raised by Rostyslav still remains unresolved.
History
Date User Action Args
2016年01月01日 22:31:30Winterflowersetrecipients: + Winterflower, georg.brandl, terry.reedy, vstinner, benjamin.peterson, Arfrever, docs@python, Rostyslav.Dzinko
2016年01月01日 22:31:30Winterflowersetmessageid: <1451687490.55.0.838298499481.issue15718@psf.upfronthosting.co.za>
2016年01月01日 22:31:30Winterflowerlinkissue15718 messages
2016年01月01日 22:31:29Winterflowercreate

AltStyle によって変換されたページ (->オリジナル) /