[Zope3-Users] Dynamic interfaces ?

Gaël Pasgrimaud gael at gawel.org
Mon Mar 10 10:29:36 EDT 2008


Hi Jim, Thierry,

2008/3/10, Jim Washington <jwashin at vt.edu>:
> (...)
>
>  myiface = new.classobj(iface_name.encode('utf-8'),(Interface,),definitions)
>
>

I think you can do this work with the InterfaceClass metaclass

See zope.interface.interface.InterfaceClass

Regards,

--
Gael


More information about the Zope3-users mailing list