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 ezio.melotti
Recipients ezio.melotti
Date 2014-12-28.01:59:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419731956.88.0.398942484595.issue23124@psf.upfronthosting.co.za>
In-reply-to
Content
On CPython small ints are cached to improve performances.
This is an implementation detail and "is" should not be used to compare ints (== should be used instead).
History
Date User Action Args
2014-12-28 01:59:16ezio.melottisetrecipients: + ezio.melotti
2014-12-28 01:59:16ezio.melottisetmessageid: <1419731956.88.0.398942484595.issue23124@psf.upfronthosting.co.za>
2014-12-28 01:59:16ezio.melottilinkissue23124 messages
2014-12-28 01:59:16ezio.melotticreate