[Python-3000] Total ordering and cmp (original) (raw)
Adam Olsen rhamph at gmail.com
Wed Mar 21 20:51:40 CET 2007
- Previous message: [Python-3000] Total ordering and __cmp__
- Next message: [Python-3000] Total ordering and __cmp__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 3/21/07, Collin Winter <collinw at gmail.com> wrote:
On 3/20/07, Guido van Rossum <guido at python.org> wrote: [snip] > Or we could just have 2.6 warn about the presence (or use) of cmp > -- users can write equivalent code using lt etc. themselves and > probably do a better job.
Fair enough. Is anyone collecting a list of these --py3k warnings? There seem to be a lot recent changes that 2.6's py3k-compat mode will be handling, but I haven't seen anything about someone tracking them/working on a PEP on the issue. Or did I just volunteer myself for that? : )
PEP 361 lists some, although I'm sure it could use some love and care. I would especially appreciate clarity on what the warning flags are, what warnings are active under each flag, etc.
Anthony Baxter has patches for two of the warnings: http://sourceforge.net/tracker/index.php?func=detail&aid=1631035&group_id=5470&atid=305470
I have a patch for several more: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1683908&group_id=5470
-- Adam Olsen, aka Rhamphoryncus
- Previous message: [Python-3000] Total ordering and __cmp__
- Next message: [Python-3000] Total ordering and __cmp__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]