[issue1717] Get rid of more refercenes to __cmp__

Mark Dickinson report at bugs.python.org
Fri Jan 2 16:10:07 CET 2009


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

Here's a patch (against py3k) generated from the current state of the 
py3k-issue1717 branch, for ease of review and testing.

The patch needs serious review;  it should be considered a first draft, 
and there are probably many more changes still to be made.  I don't 
think I can do much more for now without getting input from others.

Known places in the source tree where cmp/__cmp__ still lingers on:

Demos/<many>
Doc/extending/newtypes.rst
Misc/cheatsheet
Misc/python-mode.el
Misc/Vim/python.vim
Parser/spark.py   # (I don't know what this does.  Anyone?)
Tools/<various>   # (notably pynche and pybench)

Apart from the newtypes.rst, all of the above files are somewhat out of 
date in other ways.  In my opinion it's only the doc fixes that stop the 
patch from being complete enough.

----------
stage: needs patch -> patch review
Added file: http://bugs.python.org/file12540/remove_cmp6.patch

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


More information about the Python-bugs-list mailing list