[Zope3-dev] Circular references between interfaces

Jim Fulton jim at zope.com
Sat Oct 9 02:48:40 EDT 2004


Stephan Richter wrote:
> On Friday 08 October 2004 00:04, Peter Mayne wrote:
> 
>>IActor.movies = List(
>>         title = u'Movies',
>>         description = u'Movies this actor has been in.',
>>         value_type = Object(IMovie, title = u'Movie reference'),
>>         default = [],
>>         required = False)
> 
> 
> This is an incorrect assignment. You cannot simply use the attribute 
> assignment syntax on interfaces.

Perhaps we should add an API for adding an attribute definition to
at interface.

Jim


-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list