I assume you are having me do this because you still plan to cut separate releases. Is there a minimum Python version that needs to be supported?
On Tue, Feb 22, 2011 at 18:23, Benjamin Peterson <[email protected]>wrote: > 2011/2/22 brett.cannon <[email protected]>: > > Author: brett.cannon > > Date: Tue Feb 22 20:12:43 2011 > > New Revision: 88503 > > > > Log: > > Add lib2to3.__main__ to make it easier for debugging purposes to run > 2to3. > > Please revert this and do it in the sandbox. > > > > > Added: > > python/branches/py3k/Lib/lib2to3/__main__.py > > Modified: > > python/branches/py3k/Tools/scripts/2to3 > > > > Added: python/branches/py3k/Lib/lib2to3/__main__.py > > > ============================================================================== > > --- (empty file) > > +++ python/branches/py3k/Lib/lib2to3/__main__.py Tue Feb 22 > 20:12:43 2011 > > @@ -0,0 +1,4 @@ > > +import sys > > +from .main import main > > + > > +sys.exit(main("lib2to3.fixes")) > > > > Modified: python/branches/py3k/Tools/scripts/2to3 > > > ============================================================================== > > --- python/branches/py3k/Tools/scripts/2to3 (original) > > +++ python/branches/py3k/Tools/scripts/2to3 Tue Feb 22 20:12:43 2011 > > @@ -1,5 +1,4 @@ > > #!/usr/bin/env python > > -import sys > > -from lib2to3.main import main > > +import runpy > > > > -sys.exit(main("lib2to3.fixes")) > > +runpy.run_module('lib2to3', run_name='__main__', alter_sys=True) > > _______________________________________________ > > Python-checkins mailing list > > [email protected] > > http://mail.python.org/mailman/listinfo/python-checkins > > > > > > -- > Regards, > Benjamin > _______________________________________________ > Python-checkins mailing list > [email protected] > http://mail.python.org/mailman/listinfo/python-checkins >
_______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
