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 Mike Vertolli, docs@python, terry.reedy
Date 2016-03-11.23:58:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457740707.74.0.444122607519.issue26511@psf.upfronthosting.co.za>
In-reply-to
Content
There is not 'integer caching in Python'.  This is strictly an implementation feature of CPython, and any other implementation that does similarly.

"or id(x) == id(y)" should be "(id(x) == id(y))" as the addition is an alternate wording, not an alternate condition.  I am not sure that this will always be helpful.
History
Date User Action Args
2016-03-11 23:58:27terry.reedysetrecipients: + terry.reedy, docs@python, Mike Vertolli
2016-03-11 23:58:27terry.reedysetmessageid: <1457740707.74.0.444122607519.issue26511@psf.upfronthosting.co.za>
2016-03-11 23:58:27terry.reedylinkissue26511 messages
2016-03-11 23:58:27terry.reedycreate