[issue1826] operator.attrgetter() should accept dotted attribute paths

Raymond Hettinger report at bugs.python.org
Tue Jan 15 00:12:23 CET 2008


Raymond Hettinger added the comment:

I think Barry's proposal is fine.  If we need to update the docs, then
so be it.  His proposal adds useful functionality while keeping
readability and clarity.

FWIW, the getattr() explanation in the docs already needs to be expanded
to cover the multi-argument form of itemgetter.

----------
resolution:  -> accepted

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1826>
__________________________________


More information about the Python-bugs-list mailing list