Re: [Zope-dev] Zope 2.12 and Globals.DevelopmentMode

2010-02-10 Thread Sylvain Viollon
On Sat, 06 Feb 2010 02:14:07 -0500 Tres Seaver tsea...@palladion.com wrote: Hello, There was never any guarantee that Globals would be fully popluated before the start of product initialization: third-party code needs to defer checking that flag at import time (which is the point of the

Re: [Zope-dev] Zope 2.12 and Globals.DevelopmentMode

2010-02-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvain Viollon wrote: On Sat, 06 Feb 2010 02:14:07 -0500 Tres Seaver tsea...@palladion.com wrote: Hello, There was never any guarantee that Globals would be fully popluated before the start of product initialization: third-party code

[Zope-dev] Zope 2.12 and Globals.DevelopmentMode

2010-02-05 Thread Sylvain Viollon
Hello, Maybe I missed something, but it seems to me that Globals.DevelopmentMode in Zope 2.12 is always False, even if you start Zope in fg, or set debug-mode to on in the configuration file. And I tried App.config.getConfiguration().debug_mode, it's the same. Did I miss

Re: [Zope-dev] Zope 2.12 and Globals.DevelopmentMode

2010-02-05 Thread Hanno Schlichting
On Fri, Feb 5, 2010 at 2:35 PM, Sylvain Viollon sylv...@infrae.com wrote:   Maybe I missed something, but it seems to me that   Globals.DevelopmentMode in Zope 2.12 is always False, even if you   start Zope in fg, or set debug-mode to on in the configuration file. This works for me and

Re: [Zope-dev] Zope 2.12 and Globals.DevelopmentMode

2010-02-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hanno Schlichting wrote: On Fri, Feb 5, 2010 at 2:35 PM, Sylvain Viollon sylv...@infrae.com wrote: Maybe I missed something, but it seems to me that Globals.DevelopmentMode in Zope 2.12 is always False, even if you start Zope in fg, or set