"optimizing out" getattr
jepler at unpythonic.net
jepler at unpythonic.net
Thu Sep 15 21:30:44 EDT 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.sig>
More information about the Python-list
mailing list