Don't use __slots__ (was Re: performance of dictionary lookup vs. object attributes)

skip at pobox.com skip at pobox.com
Fri Aug 25 11:33:47 EDT 2006


    Aahz> Taking a look at __slots__ is fine as long as you don't actually
    Aahz> use them.

    Gabriel> Why?

http://groups.google.com/group/comp.lang.python/browse_thread/thread/451ad25f9c648404/f4ac2dfde32b16fd?lnk=st&q=Python+__slots__+aahz&rnum=2#f4ac2dfde32b16fd

Skip



More information about the Python-list mailing list