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 arigo
Recipients arigo, belopolsky, fniessink, loewis
Date 2008-03-09.12:15:02
SpamBayes Score 0.024010567
Marked as misclassified No
Message-id <1205064906.5.0.843722393593.issue1617161@psf.upfronthosting.co.za>
In-reply-to
Content
My mistake, you are right.  I forgot about one of the many types that
CPython uses internally for built-in methods.  Indeed:

    >>> [].index == [].index
    False
    >>> [].__add__ == [].__add__
    True

I can fix this so that the answer is True in all cases; alternatively,
considering Frank Niessink's original issue, we could bring this
discussion to python-dev and decide what the correct behavior should be
and implement it consistently for all method types.
History
Date User Action Args
2008-03-09 12:15:07arigosetspambayes_score: 0.0240106 -> 0.024010567
recipients: + arigo, loewis, belopolsky, fniessink
2008-03-09 12:15:06arigosetspambayes_score: 0.0240106 -> 0.0240106
messageid: <1205064906.5.0.843722393593.issue1617161@psf.upfronthosting.co.za>
2008-03-09 12:15:03arigolinkissue1617161 messages
2008-03-09 12:15:03arigocreate