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 mark.dickinson
Recipients mark.dickinson, ncoghlan
Date 2009-02-08.10:34:13
SpamBayes Score 2.5004547e-06
Marked as misclassified No
Message-id <1234089256.12.0.28890692519.issue5184@psf.upfronthosting.co.za>
In-reply-to
Content
See

http://mail.python.org/pipermail/python-dev/2009-February/085809.html

where Nick Coghlan writes:

"I'm wondering if Mark should add the exception he recently removed back
in as a Deprecation Warning when tp_compare is defined, but
tp_richcompare is not. Such a warning should also be present when
running with -3 in 2.7 (assuming it isn't already there)."

A technical difficulty with adding this warning is that various built-in 
types implement tp_compare but not tp_richcompare.  For example:  int, 
long, slice, buffer, instancemethod, cell and bool all do this.
History
Date User Action Args
2009-02-08 10:34:16mark.dickinsonsetrecipients: + mark.dickinson, ncoghlan
2009-02-08 10:34:16mark.dickinsonsetmessageid: <1234089256.12.0.28890692519.issue5184@psf.upfronthosting.co.za>
2009-02-08 10:34:14mark.dickinsonlinkissue5184 messages
2009-02-08 10:34:13mark.dickinsoncreate