Hello Greg,

Quite easily, you can write:

contains('mypackage.package.IReport')

That gets not resolved at import time.

Friday, May 11, 2007, 1:43:44 PM, you wrote:

GB> Hrm, it appears that ctrl-enter in kmail actually sends emails... Sorry 
about
GB> that last one..

GB> Anyway, my question:

GB> interfaces.py:
GB> ------------------
GB> class IReport(Interface):
GB>     containers(IReportContainer)

GB> class IReportContainer(IContainer):
GB>     contains(IReport)


GB> the above two classes reside in the same module, interfaces.py... Since they
GB> both depend on each other, I am having the problem of a circular dependency.
GB> How can I resolve this?

GB> Greg
GB> _______________________________________________
GB> Zope3-users mailing list
GB> Zope3-users@zope.org
GB> http://mail.zope.org/mailman/listinfo/zope3-users


-- 
Best regards,
 Groszer Adam
--
Quote of the day:
Katz' Law: Man and nations will act rationally when all other possibilities 
have been exhausted.

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to