[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.

Hanno Schlichting plone at hannosch.info
Sun Jun 15 16:50:31 EDT 2008


Tres Seaver wrote:
> Malthe Borch wrote:
>> Tres Seaver wrote:
>>> 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.
>> Is ``devmode`` available on Zope 2? That might be a good flag to control 
>> this.
> 
> As I said before, I think something specific to the z3c.pt package would
> be sensible.

That seems to be the best approach here indeed. I implemented this very 
closely to your suggestion now.

Thanks,
Hanno



More information about the Zope-Dev mailing list