[New-bugs-announce] [issue1717] Get rid of more refercenes to __cmp__

Guido van Rossum report at bugs.python.org
Tue Jan 1 17:39:25 CET 2008


New submission from Guido van Rossum:

Should I apply this?  There are more places that reference __cmp__ in
the library.  OTOH there are some folks who would like to see __cmp__
make a come-back as a shorthand for defining 6 comparison operators, for
totally-ordered types.  (I'm still waiting for a PEP describing this
though.)  Even in that case I'm not sure that the code I'm proposing to
delete here would be useful.

----------
assignee: gvanrossum
components: Interpreter Core
files: nocmp.diff
keywords: patch
messages: 59072
nosy: gvanrossum
priority: low
severity: normal
status: open
title: Get rid of more refercenes to __cmp__
type: behavior
versions: Python 3.0
Added file: http://bugs.python.org/file9039/nocmp.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1717>
__________________________________


More information about the New-bugs-announce mailing list