Issue1381290

classification
Title: Template class from python string package
Type: rfe Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: kzuberi, mslusar
Priority: normal Keywords:

Created on 2005-12-15.07:03:03 by mslusar, last changed 2007-03-10.04:31:00 by kzuberi.

Messages
msg3018 (view) Author: Marcin Slusarczyk (mslusar) Date: 2005-12-15.07:03:03
Do you consider implementing Template class from string
python package?

I was trying to copy Template implementation from
Python24, but there were some CPython specific
constructions and I was not able to port them all to
jython.
msg3019 (view) Author: Khalid Zuberi (kzuberi) Date: 2007-03-10.04:31:00
I recall playing with this some time back, and the breakage appeared to be due to the Template implementation's use of python's metaclass support, which had some problems in jython. Happily however the situation in jython has improved, and i just ran test_pep292.py from cpython2.4 with a copy of the Template implementation under jython trunk (2.2) and the tests all passed.

Note that we still won't have Template in jython until we put out a 2.4 compatible release. But you should now be able to use it on your own.

- kz
History
Date User Action Args
2005-12-15 07:03:03mslusarcreate