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 loewis
Recipients loewis, nharkins
Date 2010-08-15.20:51:01
SpamBayes Score 0.005459946
Marked as misclassified No
Message-id <1281905463.42.0.147119047284.issue9616@psf.upfronthosting.co.za>
In-reply-to
Content
Numbers are immutable, and hence don't need to be copied. In fact, it is impossible to create two int object that both have the value 4, but are different objects:

py> 2+2 is 3+1
True
History
Date User Action Args
2010-08-15 20:51:06loewissetrecipients: + loewis, nharkins
2010-08-15 20:51:03loewissetmessageid: <1281905463.42.0.147119047284.issue9616@psf.upfronthosting.co.za>
2010-08-15 20:51:02loewislinkissue9616 messages
2010-08-15 20:51:02loewiscreate