[Python-Dev] decorate-sort-undecorate
Fred L. Drake, Jr.
fdrake at acm.org
Tue Oct 14 14:15:52 EDT 2003
More information about the Python-Dev mailing list
Tue Oct 14 14:15:52 EDT 2003
- Previous message: [Python-Dev] decorate-sort-undecorate
- Next message: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Raymond Hettinger writes: > Besides immortality and speed, another consideration is the interaction > between the cmp function and the key function. If both are specified, > then the underlying decoration becomes visible to the user: Or the cmp function is only passed the decoration. Or we disallow specifying both. Passing (decoration, index, value) for each value strikes me as just plain wrong. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation
- Previous message: [Python-Dev] decorate-sort-undecorate
- Next message: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list