"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | On Sat, 15 Mar 2008 11:50:17 -0700, Dennis Lee Bieber wrote: | | > Small integers are cached in Python, so they always have a fixed ID | > (address). | | Small integers are cached in CPython, making it an implementation- | dependent feature.
Indeed, the set cached has changed from version to version. | I don't believe that caching is promised by the | language definition, No, could even disappear from cPython. -- http://mail.python.org/mailman/listinfo/python-list