Serhiy Storchaka added the comment:

Sorry, I forgot push a "Publish All My Drafts" button. Please consider other my 
comments to first patch. I also have added new comments about length_hint().

Your implementation of attrgetter() looks good. One possible disadvantage of 
pure functional approach is that attrgetter() will be not a class. Unlikely 
someone subclass attrgetter, but it can be used in an isinstance() check. You 
solve this issue.

The same approach can be applied to itemgetter().

----------

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

Reply via email to