Re:First Impressions of Python from a Java Developer
by reinhardt on Tuesday November 09, 2010 @12:49PM
(#1887243)
Basically yes, although it is not part of the language definition and should not be relied on. It's just an implementation artifact of CPython, and not only that but the threshold of which integers are cached changes for different Python versions.
Same reasoning as Java?