dynamism

Steven Shaw steven_shaw at adc.com
Wed Sep 11 19:54:00 EDT 2002


Michael Chermside <mcherm at destiny.com> wrote in message news:<mailman.1031680455.27705.python-list at python.org>...
> Steven Shaw wrote:
> >>An object of a builtin type, or with __slots__ defined in the class and
> >>all base classes does not have a __dict__ attribute.
> > 
> > 
> > Does this mean that the attributes are stored in a more efficient way?
> > 
> > Is there a way to implement "record-based" object layout rather than
> > "associative-array based" object layout?
> 
> In short, YES.

Excellent.

> 
> See http://python.org/doc/2.2.1/whatsnew/sect-rellinks.html . 
> Unfortunately, http://www.python.org/peps/pep-0253.html doesn't give 
> full details since they haven't been written up yet.

Thanks for the links.



More information about the Python-list mailing list