21 May
2003
21 May
'03
3:47 p.m.
Instances of built-in types do not allow extra attributes (nor should they.) So, for example, declarePrivate('some_string_attribute') has no effect, nor did it ever have any effect.
We don't need instances of built-in types to allow extra attributes. So, no need to say {}.__roles__ = something. What we would need is to be able to say dict.__roles__ = something. It would be nice if the objects that represent built-in types could have attributes set on them. This would be helpful for some things in Zope 3 too. -- Steve Alexander