[issue1717] Get rid of more refercenes to __cmp__

2009-01-03 Thread Mark Dickinson
Mark Dickinson added the comment: [Georg Brandl, on spark.py] > This is used by asdl_c.py which generates Python-ast.c -- it should be > updated. The only issue here is a single comment, which reads: # GenericASTMatcher. AST nodes must have "__getitem__" and "__cmp__" Still, I'm reluctant t

[issue1717] Get rid of more refercenes to __cmp__

2009-01-02 Thread Georg Brandl
Georg Brandl added the comment: Doc/extending/newtypes.rst I'll fix this one after the patch has landed. Misc/cheatsheet This needs a general overhaul. Misc/python-mode.el I think this should be removed from the distribution; it's maintained externally. Parser/spark.py # (I don't k

[issue1717] Get rid of more refercenes to __cmp__

2009-01-02 Thread Mark Dickinson
Mark Dickinson 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

[issue1717] Get rid of more refercenes to __cmp__

2008-12-20 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Please remember to add back PyUnicode_Compare() if that hasn't already been done. Thanks, -- Marc-Andre Lemburg eGenix.com 2008-12-02: Released mxODBC.Connect 1.0.0 http://pytho

[issue1717] Get rid of more refercenes to __cmp__

2008-12-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > It shouldn't be too hard to update longobject.c to remove the use. > > I'll do that one. Done in r67871, r67873. ___ Python tracker ___ ___

[issue1717] Get rid of more refercenes to __cmp__

2008-12-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It shouldn't be too hard to update longobject.c to remove the use. I'll do that one. ___ Python tracker ___ __

[issue1717] Get rid of more refercenes to __cmp__

2008-12-20 Thread Mark Dickinson
Mark Dickinson added the comment: Should Py_CmpToRich (in object.c) disappear? It's currently used in longobject.c, but nowhere else as far as I can tell. It shouldn't be too hard to update longobject.c to remove the use. ___ Python tracker

[issue1717] Get rid of more refercenes to __cmp__

2008-12-20 Thread Mark Dickinson
Mark Dickinson added the comment: Still to do: pybench needs updating to remove a cmp reference; since the changes required for pybench are a little bit more substantial than simple cmp replacement, I've broken this out into a separate issue: issue 4704. There are many uses of cmp still in

[issue1717] Get rid of more refercenes to __cmp__

2008-12-19 Thread Martin v. Löwis
Changes by Martin v. Löwis : -- priority: deferred blocker -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1717] Get rid of more refercenes to __cmp__

2008-12-10 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-12-09 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Guido approved removing __builtin__.cmp() in 3.0.1. It was supposed to have been taken out but was forgotten. With respect to the DRY principle, I disagree about its utility here. The code is so simple that it doesn't warrant cross-modul

[issue1717] Get rid of more refercenes to __cmp__

2008-12-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-12-09 16:06, Antoine Pitrou wrote: > Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > >> The idea was to have one implementation of the work-around (a>b) - (b> instead of 10 or so instances of this snippet in the Python std

[issue1717] Get rid of more refercenes to __cmp__

2008-12-09 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > The idea was to have one implementation of the work-around (a>b) - (b instead of 10 or so instances of this snippet in the Python stdlib > and probably a few hundred places in other code. But what use-case does it solve, except for making l

[issue1717] Get rid of more refercenes to __cmp__

2008-12-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-12-09 10:59, Raymond Hettinger wrote: > Raymond Hettinger <[EMAIL PROTECTED]> added the comment: > > Moving cmp() somewhere other than builtins is not progress. IMO, it > needs to die off and the concept of it needs to disappear

[issue1717] Get rid of more refercenes to __cmp__

2008-12-09 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Moving cmp() somewhere other than builtins is not progress. IMO, it needs to die off and the concept of it needs to disappear completely. Code is better without it. Three-way comparisons are PITA to use -- their only virtue is as an opti

[issue1717] Get rid of more refercenes to __cmp__

2008-12-09 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: More seriously, if cmp were to go into the standard library somewhere, perhaps Raymond's class decorator (for filling in missing rich comparisons) could go into the same place? ___ Python tracker <[EMAIL PR

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: > It is in the builtins in Python 2.x, so keeping it there would make > porting easier, but then it's probably better to put it somewhere else > to make people aware of the fact that the underlying machinery has > changed. from __past__ impor

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-12-09 00:58, Antoine Pitrou wrote: > Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > > I wrote: >> IMO PyUnicode_Compare() should be replaced by a hypothetical >> PyObject_RichCompare(), which allows to take shortcuts when

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: I wrote: > IMO PyUnicode_Compare() should be replaced by a hypothetical > PyObject_RichCompare(), which allows to take shortcuts when comparing > strings of different length and a Py_EQ or Py_NE comparison is requested. ... and I didn't even

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: On 2008-12-09 00:12, Christian Heimes wrote: > Christian Heimes <[EMAIL PROTECTED]> added the comment: > > Marc-Andre, how do you like a function PyUnicode_Equal() instead of > PyUnicode_Compare()? > > The old PyUnicode_Compare() functi

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: IMO PyUnicode_Compare() should be replaced by a hypothetical PyObject_RichCompare(), which allows to take shortcuts when comparing strings of different length and a Py_EQ or Py_NE comparison is requested. (see #3106 too) -- nosy: +pit

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: Marc-Andre, how do you like a function PyUnicode_Equal() instead of PyUnicode_Compare()? The old PyUnicode_Compare() function returns -1 for smaller value and errors, 0 for equality and +1 for larger value. I find it confusing to have one

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Guido van Rossum
Changes by Guido van Rossum <[EMAIL PROTECTED]>: -- nosy: -gvanrossum ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list m

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: Instead of removing cmp(a, b) and replacing all uses with (a>b)-(b ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Marc-Andre Lemburg
Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: Please put the PyUnicode_Compare() API back in there. Removing __cmp__ really doesn't have anything to do with removing often used helper functions for comparing certain object types and only cripples the C API in a needless way. Thanks.

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: I've created a new branch to work on the issue: svn+ssh://[EMAIL PROTECTED]/python/branches/py3k-issue1717. It's easier to work on a branch than exchanging monster patches. ___ Python tracker <[EMAIL PROT

[issue1717] Get rid of more refercenes to __cmp__

2008-12-08 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: Update patch to include fix for unittest.py and test_unittest.py. Added file: http://bugs.python.org/file12278/remove_cmp5.patch ___ Python tracker <[EMAIL PROTECTED]> __

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: The latest patch removes PyUnicode_Compare as well as lots of __cmp__ functions under Lib/. It also renames and redefines PyUnicode_CompareWithASCIIString(). The simpler PyUnicode_EqualToASCIIString() function is easier to use, too. ---

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: On Sun, Dec 7, 2008 at 13:26, Mark Dickinson <[EMAIL PROTECTED]> wrote: > > Mark Dickinson <[EMAIL PROTECTED]> added the comment: > > About unittest: > > unittest.TestLoader has an attribute "sortTestMethodsUsing", which it > expects to be an ol

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: About unittest: unittest.TestLoader has an attribute "sortTestMethodsUsing", which it expects to be an old-style comparison. Should this attribute be updated (and renamed?) to expect a key function instead, or left as is?

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: remove_cmp3.patch adds to Christian's patch to fix 6 more test_failures: (test_distutils, test_kqueue, test_list, test_sort, test_sqlite, test_userlist). On OS X, the only remaining test failure is test_unittest.py. Added file: http://bugs.

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: I've integrated Mark's patch and fixed more tests. Who wants to pick it up from here? Added file: http://bugs.python.org/file12267/remove_cmp2.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Christian Heimes
Changes by Christian Heimes <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file12262/remove_cmp.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: Decimal fixes Added file: http://bugs.python.org/file12265/remove_cmp_decimal.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: Can you fix the decimal module and tests? You know more about the module than me. I'm half through most of the others modules. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: I'll work on fixing the unit tests if that's helpful. ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: Here is a longer patch that removes cmp, PyObject_Compare and cmpfunc. The slots has been renamed to tp_reserved. If the slot is used by a type an exception is raised to notify the user about possible issues. Missing: * fix unit tests * add

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: We shouldn't remove the tp_compae slot in 3.0. That's going to break too much 3rd party software. Instead of removing it, a deprecation warning should be printed when the slot isn't 0. ___ Python tracker

[issue1717] Get rid of more refercenes to __cmp__

2008-12-07 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: +1 for a speedy removal of cmp and tp_compare ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: FWIW, the tp_compare slot in setobject.c serves only say the cmp() isn't defined. It can be ripped-out straight-away. ___ Python tracker <[EMAIL PROTECTED]> __

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: r67627 : complete the dedocumenting of cmp(). Amaury, I have a non-metaclass solution for you. Will post on ASPN. It uses a class decorator to sniff-out *any* defined rich ordering comparisons and the automatically fills-in those that ar

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Either take out the C-API functions or re-define them as: lambda a, b: (a > b) - (a < b) ___ Python tracker <[EMAIL PROTECTED]>

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: tp_richcompare is less convenient to implement than tp_compare. See for example how in Objects/longobject.c, long_richcompare() calls long_compare() *and* a helper method Py_CmpToRich. Likewise, turning __cmp__ into the whole set of _

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Yes, tp_compare should go. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-li

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Do we also get rid of the tp_compare type slot? 6 types still use it, they should convert this to a tp_richcompare slot ___ Python tracker <[EMAIL PROTECTED]> _

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Do the API functions PyObject_Compare() and PyObject_Cmp() also go away? -- nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: critical -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: OK, remove it in 3.0.1, provided that's released this year. Performance fixes are always fair game for bugfix releases. Please don't "fix" the what's new document (or undo the fix). I do hope cmp() was already undocumented elsewhere. ___

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: A quick ballot on #python-dev resulted in 3 of 3 votes for removing cmp() in a quick bug fix release. About the io misery: My quick fix for the buffer reallocation schema has made the situation a bit better. For the 3.0.x series I like to

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Since cmp() was documented as removed in whatsnew3.0, it may be fair game to complete the removal, treating it as a bugfix. If as Georg suggests it is done *very* quickly in 3.0.1 (say in the next week or so), it is likely harmless and b

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Raymond Hettinger
Changes by Raymond Hettinger <[EMAIL PROTECTED]>: -- nosy: +rhettinger ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list m

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I'd release 3.0.1 quickly, maybe also with the in-development improvements to the io library that alleviate the factor-1000 slowdowns. ___ Python tracker <[EMAIL PROTECTED]>

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Well what would you suggest we do? ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I hope the smiley really indicates a joke... ___ Python tracker <[EMAIL PROTECTED]> ___ ___ P

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Bah. That means we'll have to start deprecating cmp() in 3.1, and won't be able to remove it until 3.2 or 3.3. :-) ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-12-06 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: cmp() the function is also still there. -- priority: high -> critical resolution: fixed -> ___ Python tracker <[EMAIL PROTECTED]> _

[issue1717] Get rid of more refercenes to __cmp__

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Let's lower the priority on this. -- priority: release blocker -> high ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue1717] Get rid of more refercenes to __cmp__

2008-10-16 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> 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/w

[issue1717] Get rid of more refercenes to __cmp__

2008-10-16 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The library still has __cmp__ functions defined here and there, e.g. in xmlrpc/client.py. -- status: closed -> open ___ Python tracker <[EMAIL PROTECTED]> _

[issue1717] Get rid of more refercenes to __cmp__

2008-10-16 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks, Mark! Applied in r66920. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-10-16 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: > Guido's patch breaks these tests: > > test_descr test_hash test_long test_richcmp test_set It looks like all these are easily fixed: all these tests were making outdated assumptions and needed updating. Here's a patch that fixes these t

[issue1717] Get rid of more refercenes to __cmp__

2008-10-02 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-09-26 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-09-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw <[EMAIL PROTECTED]>: -- priority: deferred blocker -> release blocker ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-09-09 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Since we are making 3.0 issues deferred blockers dropping the priority. -- nosy: +brett.cannon priority: release blocker -> deferred blocker ___ Python tracker <[EMAIL PROTECTED]>

[issue1717] Get rid of more refercenes to __cmp__

2008-09-09 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Guido's patch breaks these tests: test_descr test_hash test_long test_richcmp test_set ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue1717] Get rid of more refercenes to __cmp__

2008-09-09 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Bumping priority even further. This shouldn't make it past rc. -- priority: critical -> release blocker ___ Python tracker <[EMAIL PROTECTED]> _

[issue1717] Get rid of more refercenes to __cmp__

2008-08-07 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Additionally, there are still lots of references to __cmp__ in the library which should be ripped out. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue1717] Get rid of more refercenes to __cmp__

2008-08-05 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: Can someone other than me test and apply this? It seems still relevant, and __cmp__ is not coming back. -- assignee: gvanrossum -> ___ Python tracker <[EMAIL PROTECTED]>

[issue1717] Get rid of more refercenes to __cmp__

2008-07-30 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Ping -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue1717] Get rid of more refercenes to __cmp__

2008-03-28 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Bumping priority. -- nosy: +georg.brandl priority: normal -> critical __ Tracker <[EMAIL PROTECTED]> __

[issue1717] Get rid of more refercenes to __cmp__

2008-03-17 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: __cmp__ is not coming back. -- priority: low -> normal __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1717] Get rid of more refercenes to __cmp__

2008-01-01 Thread Guido van Rossum
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