I'd like to create a proxy where __slots__ is determined (or appended to) when 
the proxy is constructed. E.g.

>>> foo = Foo()
>>> bar = SomeProxy(foo, 'baz')
>>> bar.baz = 123
>>> hasattr(foo, 'baz')
False
>>> hasattr(bar, 'baz')
True

Is it possible to do this?

 -- Garrett
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to