[issue20632] Define a new __key__ protocol

Antoine Pitrou report at bugs.python.org
Sat Feb 22 00:21:10 CET 2014


Antoine Pitrou added the comment:

This is a very nice idea, but does it have to be part of the interpreter core, or could it simply be supplied by a decorator in the functools module?

(the main advantage of having it in the interpreter is speed)

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20632>
_______________________________________


More information about the Python-bugs-list mailing list