> >
> OK, but do be aware that slots was intended solely as a
> memory-conservation measure where large numbers of objects are being
> created. You are therefore subverting its true intent by using it to
> limit the assignment of extra attributes (and there has been much recent
> discussion on this list, though not in this thread, about what to do
> instead.
>
> regards
>   Steve
> --

Oh, that too... We have tens of thousands of these objects in the
memory at the same moment, so memory conservation is another reason for
slots.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to