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?<br><br><div class="gmail_quote">On Tue, Feb 22, 2011 at 18:23, Benjamin Peterson <span dir="ltr"><<a href="mailto:benjamin@python.org">benjamin@python.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">2011/2/22 brett.cannon <<a href="mailto:python-checkins@python.org">python-checkins@python.org</a>>:<br>
<div class="im">> Author: brett.cannon<br>
> Date: Tue Feb 22 20:12:43 2011<br>
> New Revision: 88503<br>
><br>
> Log:<br>
> Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3.<br>
<br>
</div>Please revert this and do it in the sandbox.<br>
<div class="im"><br>
><br>
> Added:<br>
> python/branches/py3k/Lib/lib2to3/__main__.py<br>
> Modified:<br>
> python/branches/py3k/Tools/scripts/2to3<br>
><br>
> Added: python/branches/py3k/Lib/lib2to3/__main__.py<br>
> ==============================================================================<br>
> --- (empty file)<br>
> +++ python/branches/py3k/Lib/lib2to3/__main__.py Tue Feb 22 20:12:43 2011<br>
> @@ -0,0 +1,4 @@<br>
> +import sys<br>
> +from .main import main<br>
> +<br>
> +sys.exit(main("lib2to3.fixes"))<br>
><br>
> Modified: python/branches/py3k/Tools/scripts/2to3<br>
> ==============================================================================<br>
> --- python/branches/py3k/Tools/scripts/2to3 (original)<br>
> +++ python/branches/py3k/Tools/scripts/2to3 Tue Feb 22 20:12:43 2011<br>
> @@ -1,5 +1,4 @@<br>
> #!/usr/bin/env python<br>
> -import sys<br>
> -from lib2to3.main import main<br>
> +import runpy<br>
><br>
> -sys.exit(main("lib2to3.fixes"))<br>
> +runpy.run_module('lib2to3', run_name='__main__', alter_sys=True)<br>
> _______________________________________________<br>
> Python-checkins mailing list<br>
> <a href="mailto:Python-checkins@python.org">Python-checkins@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/python-checkins" target="_blank">http://mail.python.org/mailman/listinfo/python-checkins</a><br>
><br>
<br>
<br>
<br>
</div>--<br>
Regards,<br>
<font color="#888888">Benjamin<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Python-checkins mailing list<br>
<a href="mailto:Python-checkins@python.org">Python-checkins@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-checkins" target="_blank">http://mail.python.org/mailman/listinfo/python-checkins</a><br>
</div></div></blockquote></div><br>