Metaclass' __init__ Does not Initialize

achan anabell at
Thu Nov 13 10:14:12 CET 2003

Thanks for all who responded!

I did figure out the solution while thinking about how to get the values of
__slots__ iteratively.  That is, by using getattrib(obj, name, value).
Therefore, the opposite way should be setattrib(obj, name).  :-)

And for those who are puzzled why I insist on using __slots__, I'm using it
to reduce errors and not for saving space, wink!


More information about the Python-list mailing list