Python 2.1 syntax to Python 1.5.2

Stuart Bishop zen at
Fri Nov 2 07:58:18 CET 2001

Before I rewrite all my lovely list comprehensions and
'print >>' statements into python 1.5 syntax, I don't suppose
anyone has code that automagically does the translation?

I'm trying to generate UML from some Python source, and
ObjectDomain seems to be doing quite a good job except
for the files that use Python 2.1 specific syntax
(I guess because it is still using JPython 1.1).

Stuart Bishop <zen at>

More information about the Python-list mailing list