[Python-Dev] Type/class

Paul Prescod paulp@ActiveState.com
Thu, 10 May 2001 14:55:36 -0700


-------- Original Message --------
Log Message:

Make attributes of subtypes writable, but only for dynamic subtypes
derived in Python using a class statement; static subtypes derived in
C still have read-only attributes.
-------- Original Message --------

I would like to argue that "plain old C types" should act as if they
have __dict__s for consistency with other types. It is sometimes useful
to be able to annotate objects by adding attributes to them. But this
only works with class instance objects, not instances of types.

 Paul Prescod