[New-bugs-announce] [issue7831] cmp() is missing in 3.x

Florent Xicluna report at bugs.python.org
Mon Feb 1 20:47:43 CET 2010


New submission from Florent Xicluna <laxyf at yahoo.fr>:

The cmp(a, b) function is missing in 3.0.

This change is slightly documented in Doc/whatsnew/3.0.rst:
"The cmp() function should be treated as gone."

There's no "-3" warning and no 2to3 fixer for it.

----------
messages: 98680
nosy: flox
priority: normal
severity: normal
status: open
title: cmp() is missing in 3.x
type: behavior
versions: Python 3.1, Python 3.2

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


More information about the New-bugs-announce mailing list