Malthe Borch wrote:
> As a general improvement (in terms of clarity) and as part of the
> efforts of getting Chameleon working on GAE, I've begun reworking the
> compilation stage.

Yeah!

> 3) If the ``CHAMELEON_STATIC`` flag is enabled, compile into
> one-method-fits-all-arguments render methods for main template and
> each available macro (if required).
> 
> On render:
> 
> 4) If the ``CHAMELEON_STATIC`` flag is enabled, collapse
> keyword-arguments into dynamic context (econtext).

Do we really need to be able to switch this mode via CHAMELEON_STATIC?
I'd be tempted to make the static mode the default and not have it
configurable. The whole compilation process is already quite complicated
and I wouldn't want to increase this by adding more and more switches.

Hanno

_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to