Joe Amenta's Blog

October 24, 2010

3to2 1.0 Released!

Filed under: 3to2 — AirBreather @ 3:32 am

Having had no particular reason not to, I have released 3to2 version 1.0.

Download it from Bitbucket:
2.7 version here
3.1 version here

3.1 package is called “3to2_py3k
2.7 package is called “3to2

Bug tracker is at; submit a bug report if something either goes wrong or doesn’t go right!  (Or you can comment here or contact me directly via some other means)


  1. neat. is this based on lib2to3 (did you just modify the grammar and add new rewriters, or is did you also implement new support code)? also, what’s the licence? thanks! andrew

    Comment by andrew cooke — October 29, 2010 @ 7:29 am

  2. It uses lib2to3’s fixer mechanism as a dependency; the lib2to3 grammar is a hybrid of Python 2 and Python 3, so the primary work of lib3to2 is the new fixers/rewriters.

    It’s released under Apache License 2.0.

    Comment by AirBreather — October 29, 2010 @ 8:33 am

  3. sweet (also, thanks for the info on the 2to3 grammar, which actually means I don’t need this! :o)

    Comment by andrew cooke — October 29, 2010 @ 2:10 pm

  4. This is a very interesting concept. If I understand correctly what you mean, people could develop in Python 3 and use this tool to keep a Python 2 version in sync. I hope that helps speed up adoption of Python 3. Congratulations for your work!

    Comment by Fernando Correia — October 29, 2010 @ 2:35 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress