[issue10160] operator.attrgetter slower than lambda after adding dotted names ability

Χρήστος Γεωργίου (Christos Georgiou) report at bugs.python.org
Sat Oct 23 08:41:17 CEST 2010


Χρήστος Γεωργίου (Christos Georgiou) <tzot at users.sourceforge.net> added the comment:

A newer version of the patch with the following changes:

- single loop in the ag->attr setup phase of attrgetter_new; interning of the stored attribute names
- added two more tests of invalid attrgetter parameters (".attr", "attr.")

----------
Added file: http://bugs.python.org/file19339/issue10160-2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10160>
_______________________________________


More information about the Python-bugs-list mailing list