[Zope-dev] PANIC!!! That old refresh bug again.

Shane Hathaway shane@zope.com
Wed, 18 Sep 2002 13:14:43 -0400


Lennart Regebro wrote:
> A new idea:
> 
> Could the problem appear when you have "circular" product imports, i.e.:
> 
> In Product.ProductA.ProductA.py:
>     from Product.ProductB.SupportModule import Supportmodule
> 
> In Product.ProductB.ProductB.py:
>     from Product.ProductB.AnotherModule import AnotherModule
                    ^^^^^^^^

I assume you mean ProductA here.

> Maybe the refresh gets confused by this?

It might.  In general, it's not a good thing to have circular imports in 
your code anyway, since it's brittle.

Shane