tags:

views:

18

answers:

2

I've seen codegen http://dev.pocoo.org/hg/sandbox/file/868ea20c2c1d/ast/ but doent works with all the files and ast2src which only works with Python 3.1.

A: 

You could convert the 3.1 source to 2x using 3to2.

It's a utility for back-porting python3 scripts back to python2.

Note: 3to2 isn't the standard user-submitted PYPI project. It has been vetted by the core dev team and was the one of the Google Summer of Code projects last year

Evan Plaice
A: 

Ive patched codegen con make it work with my sources: http://svn.juanjoconti.com.ar/dyntaint/trunk/wrapstrings/gen/

Juanjo Conti