[Python-Dev] Summary of "dynamic attribute access" discussion

"Martin v. Löwis" martin at v.loewis.de
Tue Feb 13 22:40:17 CET 2007


Mike Klaas schrieb:
> The entire codebase was developed post-2.4

Can you find out what percentage of these could have used
a __getitem__ if it had been implemented? As a starting
point, count all 'getattr(self' invocations.

Regards,
Martin


More information about the Python-Dev mailing list