A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/038712.html below:

[Python-Dev] decorate-sort-undecorate

[Python-Dev] decorate-sort-undecorate [Python-Dev] decorate-sort-undecorateFred L. Drake, Jr. fdrake at acm.org
Tue Oct 14 14:15:52 EDT 2003
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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4