[pypy-dev] Cheetah on PyPy?
Maciej Fijalkowski
fijall at gmail.com
Wed Feb 6 22:52:01 CET 2013
On Wed, Feb 6, 2013 at 11:10 PM, Skip Montanaro <skip at pobox.com> wrote:
> I'm slowly working through some little tests which don't require and
> of our libraries at work. My current test is a script which uses the
> Cheetah template engine. I see that it is buried somewhere in PyPy's
> tests (inside genshi?), but my straightforward install of Cheetah
> 2.4.4 doesn't work because the str() of a compiled template doesn't do
> any of the required template expansion. It just returns what looks
> suspiciously like the repr() of the object.
>
> Is there a modified version of Cheetah somewhere (or patch) which
> coaxes it to work with PyPy? Failing that, where is the test suite
> code? I see no references to it as a standalone download, and am
> currently working with a binary build of 1.9.
>
> Thx,
>
> Skip Montanaro
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
It seems cheetah is doing some strange C extension called nameMapper.
I can bet upfront that this is the part that does not work at all. It
has a python fallback but it does not seem to work the same way.
Cheers,
fijal
More information about the pypy-dev
mailing list