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 shigin
Recipients shigin
Date 2008-01-31.16:17:01
SpamBayes Score 0.11889131
Marked as misclassified No
Message-id <1201796222.53.0.881330735735.issue1981@psf.upfronthosting.co.za>
In-reply-to
Content
Hello,

The operator "is" works strange with methods, i.e.:

>>> a = 1
>>> a.__abs__ is a.__abs__
False

If this is the preferred behavior by some reasons, I think 
documentation should explain it.

It was tested on python 2.4.4, 2.5.1 and trunk r60477.
History
Date User Action Args
2008-01-31 16:17:02shiginsetspambayes_score: 0.118891 -> 0.11889131
recipients: + shigin
2008-01-31 16:17:02shiginsetspambayes_score: 0.118891 -> 0.118891
messageid: <1201796222.53.0.881330735735.issue1981@psf.upfronthosting.co.za>
2008-01-31 16:17:01shiginlinkissue1981 messages
2008-01-31 16:17:01shigincreate