[Zope-dev] Re: SVN: z3c.pt/trunk/ In debug mode the actual source code for file templates is written out to a <filename>.source file, to make it easier to inspect it.

Tres Seaver tseaver at palladion.com
Sat Jun 14 14:10:56 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hanno Schlichting wrote:
> Log message for revision 87393:
>   In debug mode the actual source code for file templates is written out to a <filename>.source file, to make it easier to inspect it.
>   
>   Make debug mode setting explicit in a config.py. Currently it is bound to Python's __debug__, which is False when run with -O and otherwise True.

I don't think I would this to __debug__:  I wouldn't want to pay a price
either at startup time or (worse) at render time for information I don't
need or want.

I think looking for an environment variable would be quite reasonable
instead.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIVAmv+gerLs4ltQ4RAkMnAKChysbw0FboPfMPtSe0H2eGtGF7DgCgvK1Q
XXC2UpX5L7KQ7HeGdUNr7Us=
=Vofy
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list