[Python-porting] bugs in 2to3 tools when porting sympy

Benjamin Peterson benjamin at python.org
Mon Jul 6 02:21:03 CEST 2009


Could you try with the latest version of 2to3 from the sandbox? [1]
I've recently fixed I think all of the bugs you've described.

[1] http://svn.python.org/projects/sandbox/trunk/2to3

>
> Besides the 3 bugs above, there are lots of small annoyances, like
> that sys.version_info has changed, so one has to use tuple() around
> it, that .sort() doesn't accept a cmp() like callback anymore, and
> similar things, which hopefully should be relatively easy to fix in a
> manner that works in all pythons.

What are you doing with sys.version_info which makes it incompatible?



-- 
Regards,
Benjamin


More information about the Python-porting mailing list