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

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 14 03:07:26 CET 2007


Josiah Carlson wrote:
> In a recent
> source checkout of the trunk Lib, there are 100+ uses of setattr, 400+
> uses of getattr ... and a trivial number of delattr calls.

That's out of about 250,000 lines, or 0.2%.
Not a huge proportion, I would have thought.

--
Greg


More information about the Python-Dev mailing list