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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue1410739> _____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com