Philipp von Weitershausen wrote:

Baiju M wrote:

There is an import failure when running 'python2.4 -s'
I have a fix here:
Commit it ?

What's causing the failure?

This is the output I am getting when running: python2.4 -s

 Running tests at level 1
 Test-module import failures:


 ImportError: cannot import name IBroken

 Total: 0 tests, 0 failures, 0 errors

 Test-modules with import problems:

In we are importing IAnnotations before IBroken definition
So the import cycle is like this:

(Pdb) where
-> from zope.annotation.interfaces import IAnnotations
-> from zope.annotation.factory import factory
-> import
> /var/tmp/wa/Zope3trunk/src/zope/app/container/
-> from import IBroken
(Pdb) next
ImportError: 'cannot import name IBroken'

And how does your patch fix it?

In define IBroken before importing IAnnotations
Also I moved the original defintion of IBroken to

Baiju M

Zope3-dev mailing list

Reply via email to