[Python-Dev] __getattr__ and new style classes

Christian Heimes lists at cheimes.de
Thu Oct 9 13:23:51 CEST 2008


Nick Coghlan wrote:
> I think it's actually some single quotes that got mangled by the mailer.
> Either way, something else is going on for Kristján to see such wildly
> different results between old-style and new-style attribute access, when
> the differences are in the noise for the other folks checking it.

I still think they are back ticks. Maybe the repr() function of new
style classes is slower than the old style repr(). It might explain the
difference.

Christian


More information about the Python-Dev mailing list