On Sat, May 2, 2009 at 1:53 PM, Carlos de la Guardia
<carlos.delaguar...@gmail.com> wrote:
> Chameleon.* will not work because it needs to generate code objects and
> that's forbidden in GAE (no marshal.py, parser.py or direct calls to
> new.code() or similar).

I would like to bring up an idea that Paul Everitt had:

- What if chameleon supported separate 'compile' and 'execute' steps?

1. Chameleon basically compile templates to Python source code.
2. It is possible to save the generated source code to .py files
(CHAMELEON_SOURCE or something in the environment)
3. Therefore, it should be possible to copy the .py files to GAE and
have them be executed without recompiling from the .pt file (of course
with some changes to chameleon)

Unless I'm missing something, this is a very simple change to do and
should allow Chameleon to be used on GAE and other "C-free" engines.

-- 
Sidnei da Silva
Canonical Ltd.
 Landscape · Changing the way you manage your systems
http://landscape.canonical.com
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to