[issue1717] Get rid of more refercenes to __cmp__

Mark Dickinson report at bugs.python.org
Thu Oct 16 22:33:08 CEST 2008


Mark Dickinson <dickinsm at gmail.com> added the comment:

Presumably any nonzero entries for tp_compare in type initializers 
should be looked at closely, as well?

I see nonzero tp_compare entries in:
  Modules/_tkinter.c
  Modules/parsermodule.c
  Objects/cellobject.c
  Objects/descrobject.c
  PC/winreg.c
  Objects/setobject.c
(but that last one just raises an error pointing out that cmp can't be 
used to compare sets, so maybe that's okay).

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1717>
_______________________________________


More information about the Python-bugs-list mailing list