[issue1410739] Add notes to the manual about `is` and methods

Christian Heimes report at bugs.python.org
Thu Jan 31 18:21:42 CET 2008


Christian Heimes added the comment:

The example sure is surprising for somebody without intimate knowledge
about Python's memory management. Although the is operator is
implemented as id(a) == id(b) reference counting, free lists and arenas
can cause some surprising effects.

----------
nosy: +tiran

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1410739>
_____________________________________


More information about the Python-bugs-list mailing list