"optimizing out" getattr

jepler at unpythonic.net jepler at unpythonic.net
Fri Sep 16 03:30:44 CEST 2005


If you are including C extensions, why not crib 2.5's implementation of
operator.attrgetter?  It looks like it is fairly modular.

http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Modules/operator.c

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050915/be7ee524/attachment.pgp>


More information about the Python-list mailing list