Hendrik van Rooyen a écrit :
"S Arrowsmith" <si...intbox.UUCP> wrote:"Small" integers get a similar treatment:a = 256 b = 256 a is bTruea = 257 b = 257 a is bFalseThis is weird - I would have thought that the limitof "small" would be at 255 - the biggest number to fit in a byte. 256 takes two bytes, so it must bean arbitrary limit
It is, and has changed from version to version. -- http://mail.python.org/mailman/listinfo/python-list