object as bunch

Michael Hoffman m.h.3.9.1.without.dots.at.cam.ac.uk at example.com
Tue Oct 12 04:22:44 EDT 2004


Alex Martelli wrote:
> Steven Bethard <steven.bethard at gmail.com> wrote:
>>Anyone know what the design goal was that caused object not to be written to
>>be used as a Bunch?
> 
> I believe the point was to not weigh down each instance of object with
> it own dictionary, since a dict takes quite a few bytes of RAM.  I could
> well be wrong, though.

Yeah, but did anyone expect object to ever be instantiated directly? 
Just askin'.
-- 
Michael Hoffman



More information about the Python-list mailing list