This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author _doublep
Recipients MHOOO, _doublep
Date 2007-11-10.15:43:15
SpamBayes Score 0.22250223
Marked as misclassified No
Message-id <1194709395.33.0.64021854482.issue1417@psf.upfronthosting.co.za>
In-reply-to
Content
Because self.bla is a bound-method object, which is created and then
instantly deleted as unreferenced.  This is not a bug, it is expected.

>>> class X:
...   def foo (self): pass
...
>>> x = X ()
>>> x.foo is x.foo
False

Note how the objects are different.
History
Date User Action Args
2007-11-10 15:43:15_doublepsetspambayes_score: 0.222502 -> 0.22250223
recipients: + _doublep, MHOOO
2007-11-10 15:43:15_doublepsetspambayes_score: 0.222502 -> 0.222502
messageid: <1194709395.33.0.64021854482.issue1417@psf.upfronthosting.co.za>
2007-11-10 15:43:15_doubleplinkissue1417 messages
2007-11-10 15:43:15_doublepcreate