Thank you for the reply with the additional information.
This will help me to organize a bit better the other dependencies and to think about some possible ways to a solution.
On Mar 23, 2008, at 12:04 PM, Ariane Paola wrote:
> my name is Ariane. I am a Computer Science student from Brazil.
> I am interested in working on TurboGears2 improvements for Jython as a
> Summer of Code project.
> Here are some information, I have collected so far to the
> Genshi:Jim Baker took a look at Genshi on Jython a couple months ago, and
> Is missing the expat library, which is only avilable in CPython
> This will have to be rewritten using the available parser in Jython.
> In case that the XML parsers in Jython do not provide enough
> functionality, there would be a need to use a Java XML library via
> I am sure that there will be other non-working parts within Genshi,
> that will have to be fixed.
has some ideas on replacing the Genshi XML parsing code with
something other than expat.
The other issue Genshi has is its parsing of python code into AST via
the compiler/parser module. Mako also shares this problem. We don't
support the parser module on Jython and there are no plans to,
instead our 2.5 parser will provide support for parsing to AST via
the _ast module (which is new in 2.5).
So what we'll need to do is have Genshi and Mako use _ast on Python
2.5 or above, otherwise fall back to compiler. compiler is being
removed in Python 3, so converting to _ast helps in that respect too.
I've been focusing on making Pylons work. It sounds like Jim is going
> There are still some things missing for a full-working Pylons on
> Jython. For sure needed fixes for TurboGears on Jython, will also
> improve Pylons on Jython.
to mentor the TG effort (and Frank will be a secondary), consider me
a third =]
One of the SQLAlchemy developers (Jason Kirtland) said a good portion
> Patch by Frank Wierzbicki
> > import sqlalchemy
> > successfully without any further work. Getting SQLAlchemy to run
> well with > Mysql and JDBC will be next, but that's for me to do :)
of the SQLAlchemy tests actually pass on Jython. The SQLAlchemy
developers are also planning to ease support for Jython by changing
around the dialect handling, see the following ticket:
(They've actually already started working on this)
One thing to note about ToscaWidgets is that it depends on
> This parts are not working on Jython and will need improvements:
RuleDispatch and DecoratorTools, I believe one, or both of these,
contain a C extension. Though the author, Alberto Valverde, has
expressed interest in removing those dependencies that require C