Ian Mallett wrote:
Weird.  I get:
>>> 2 is 1+1
True
>>> 22 is 21+1
True
>>> 222 is 221+1
True
>>> 2222 is 2221+1
False
>>>
Obviously the integer cache in Python 2.5 is bigger than in earlier releases.

--
Lenard Lindstrom
<[EMAIL PROTECTED]>

Reply via email to