Re: [Python-Dev] 3to2 Project
On Mon, Mar 30, 2009 at 9:29 PM, Benjamin Peterson wrote: > 2009/3/30 Collin Winter : >> If anyone is interested in working on this during the PyCon sprints or >> otherwise, here are some easy, concrete starter projects that would >> really help move this along: >> - The core refactoring engine needs to be broken out from 2to3. In >> particular, the tests/ and fixes/ need to get pulled up a directory, >> out of lib2to3/. >> - Once that's done, lib2to3 should then be renamed to something like >> librefactor or something else that indicates its more general nature. >> This will allow both 2to3 and 3to2 to more easily share the core >> components. > > FWIW, I think it is unfortunately too late to make this change. We've > already released it as lib2to3 in the standard library and I have > actually seen it used in other projects. (PythonScope, for example.) > Paul Kippes and I have been sprinting on this. We put lib2to3 into a refactor package and kept a shell lib2to3 to support the old interface. We are able to run 2to3, 3to2, lib2to3 tests, and refactor tests. We only have a few simple 3to2 fixes now, but they should be easy to add. We kept the old lib2to3 tests to make sure we didn't break anything. As things settle down, I'd like to verify that our new lib2to3 is backward-compatible (since right now it points to the new refactor lib) with one of the external projects. We've been using hg to push changesets between each other, but we'll be committing to the svn sandbox before the week is out. I'm heading out today, but Paul is sticking around another day. It's a start, Ron > > -- > Regards, > Benjamin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] 3to2 Project
On Wed, Apr 1, 2009 at 12:50 PM, Ron DuPlain wrote: > On Mon, Mar 30, 2009 at 9:29 PM, Benjamin Peterson > wrote: >> 2009/3/30 Collin Winter : >>> If anyone is interested in working on this during the PyCon sprints or >>> otherwise, here are some easy, concrete starter projects that would >>> really help move this along: >>> - The core refactoring engine needs to be broken out from 2to3. In >>> particular, the tests/ and fixes/ need to get pulled up a directory, >>> out of lib2to3/. >>> - Once that's done, lib2to3 should then be renamed to something like >>> librefactor or something else that indicates its more general nature. >>> This will allow both 2to3 and 3to2 to more easily share the core >>> components. >> >> FWIW, I think it is unfortunately too late to make this change. We've >> already released it as lib2to3 in the standard library and I have >> actually seen it used in other projects. (PythonScope, for example.) >> > > Paul Kippes and I have been sprinting on this. We put lib2to3 into a > refactor package and kept a shell lib2to3 to support the old > interface. > > We are able to run 2to3, 3to2, lib2to3 tests, and refactor tests. We > only have a few simple 3to2 fixes now, but they should be easy to add. > We kept the old lib2to3 tests to make sure we didn't break anything. > As things settle down, I'd like to verify that our new lib2to3 is > backward-compatible (since right now it points to the new refactor > lib) with one of the external projects. > > We've been using hg to push changesets between each other, but we'll > be committing to the svn sandbox before the week is out. I'm heading > out today, but Paul is sticking around another day. > > It's a start, > > Ron > See sandbox/trunk/refactor_pkg. More fixers to come... -Ron ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] Google Summer of Code/core Python projects - RFC
On Fri, Apr 10, 2009 at 4:38 PM, C. Titus Brown wrote: > Unquestionably "core" by my criteria above: > > 3to2 tool -- 'nuff said. I worked on the 3to2 tool during the sprint last week at PyCon. I can chip in for GSoC in the event it does get picked up. -Ron PS - I'm out of town next week for a family vacation, returning online the week of 20 Apr. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com