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 terry.reedy
Recipients brett.cannon, eric.snow, kimiguel, pablogsal, rhettinger, terry.reedy
Date 2020年03月07日.10:23:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583576624.28.0.748495207141.issue39829@roundup.psfhosted.org>
In-reply-to
Content
The only specification is that len(ob) calls ob.__len__ and that ob.__len__ should return an 'integer >= 0'. (Adding side effects goes beyond that spec.) I agree that a detectable internal in list is not a bug. Unless there is a realistic performance enhancement in caching the result of the first call, this issue should be closed.
History
Date User Action Args
2020年03月07日 10:23:44terry.reedysetrecipients: + terry.reedy, brett.cannon, rhettinger, eric.snow, pablogsal, kimiguel
2020年03月07日 10:23:44terry.reedysetmessageid: <1583576624.28.0.748495207141.issue39829@roundup.psfhosted.org>
2020年03月07日 10:23:44terry.reedylinkissue39829 messages
2020年03月07日 10:23:44terry.reedycreate

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