question: usage of __slots__

Aahz aahz at pythoncraft.com
Wed Oct 15 15:58:23 EDT 2003


In article <698f09f8.0310132012.738e22fc at posting.google.com>,
Jeremy Fincher <tweedgeezer at hotmail.com> wrote:
>Alexander Schmolck <a.schmolck at gmx.net> wrote in message news:<yfs4qyc7ur4.fsf at black132.ex.ac.uk>...
>>
>> __slots__ are a premature optimization and best avoided.
>
>It's nice to see that there's *someone* out there with a handle on
>every single possible use for Python.

Are you arguing with Guido?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan




More information about the Python-list mailing list