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/038667.html below:

[Python-Dev] decorate-sort-undecorate

[Python-Dev] decorate-sort-undecorate [Python-Dev] decorate-sort-undecorateTim Peters tim.one at comcast.net
Mon Oct 13 19:45:40 EDT 2003
[Phillip J. Eby]
> Why not just have the decoration be (key,index,value) then?  Why does
> the key function need the index?

It doesn't if indices are synthesized by magic under the covers.  Then it
starts acting more like Zope (we know it does *something*, but it's not
clear what <wink>).  If you want to pay that expense now, you do so
explicitly, and nothing about it is hidden.


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