question: usage of __slots__

Jeremy Fincher tweedgeezer at hotmail.com
Wed Oct 15 23:39:59 EDT 2003


aahz at pythoncraft.com (Aahz) wrote in message news:<bmk8sv$5mb$1 at panix1.panix.com>...
> >>
> >> __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?

Are you claiming that Guido would, without exception, call __slots__ a
"premature optimization"?

Seems it wouldn't have ever made it into the language if that was the
case.

Jeremy




More information about the Python-list mailing list