Nick Coghlan added the comment:

Note: in conjuction with a class decorator (along the lines of 
functools.total_ordering), this idea is amenable to experimentation as a third 
party module. However, any such third party module shouldn't use a reserved 
name like __key__ - a public name like "calculate_key" would be more 
appropriate.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20632>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to