Peter Bengtsson wrote at 2006-1-27 16:42 +0000:
> ...
>But, in that example they are using Five and I'm not. I've just got a
>Zope 2.9 install and a python product that I started on before Five
>even existed. Does that give us any hope for non-Five python products?

I cannot believe that they were able to break refreshability
of "normal" (non Five) products.

Refreshing essentially works by removing the modules belonging 
to the product from "sys.module" and then reimporting the product.

This may fail when product defined objects are held in registries
(such as adapters) and are not overridden when the product is
reimported. Maybe, such cases occur often with Five.

Without Five, it is rather rare (product objects are often registered
but usually, the reimport overrides the old no longer working entries).

>I've tried pressing the little "Refresh" button in Control_Panel and
>sure enough, the product is reloaded (I put some print statements in
>the .py file) but not refreshed.

"reloaded but not refreshed" means what?

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to