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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16457>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to