[Python-Dev] cmp(x,x) (original) (raw)

Greg Ewing greg at cosc.canterbury.ac.nz
Tue May 18 21:39:04 EDT 2004


Armin Rigo <arigo at tunes.org>:

Unless there are serious objections I suggest to (i.e. I plan to) remove the short-cut in PyObjectRichCompareBool() -- performance is probably not an issue here -- and then review all built-in comparison methods and make sure that they return "equal" for identical objects.

Sounds right to me.

Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list