[issue16457] Allow operator 'getter' methods to take a list and return a tuple
Nick Coghlan
report at bugs.python.org
Mon Nov 12 02:39:23 CET 2012
Nick Coghlan added the comment:
Lists can't be dictionary keys, but they can appear in other mappings (e.g. an id-keyed mapping). So, while you could add this capability to attrgetter without breaking backwards compatibility, it's not possible for itemgetter.
----------
nosy: +ncoghlan
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16457>
_______________________________________
More information about the Python-bugs-list
mailing list