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

Pedro Werneck report at bugs.python.org
Sat May 10 20:35:18 CEST 2008


Pedro Werneck <pjwerneck at gmail.com> added the comment:

I agree it's not a good idea to be too much specific about this. The
patch attached adds the following footnote to the 'is' operator:

Due to automatic garbage-collection, free lists, and the dynamic nature
of descriptors, you may notice unusual behaviour in certain combinations
of :keyword:`is` operator, like those involving identity comparisons
between class and instancemethods, and free instances in the same
expression. Check their docs for more info.

----------
nosy: +werneck
Added file: http://bugs.python.org/file10263/issue1410739.patch

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


More information about the Python-bugs-list mailing list