[Python-Dev] Dictionary tuning (original) (raw)

Guido van Rossum guido@python.org
Tue, 29 Apr 2003 07:04:27 -0400


[Tim Delaney]

Off the top of my head, most classes I create have ...

init 3-5 other methods 3-5 instance attributes Hmm - that would only be 3-5 instance dict entries, with 4-6 class dict entries, correct? I was forgetting that methods are put into the instance dict.

No, they're not.

Bah - it's too late. It's the end of the day, and I've barely managed to get 2 hours real work done.

That might explain your recent goofs. :-)

--Guido van Rossum (home page: http://www.python.org/~guido/)