New submission from Daniel Stutzbach <dan...@stutzbachenterprises.com>:

I'm in the process of converting several Python scripts so that they
work under both Python 2.6 and 3.1.  For the most part, 2to3 does an
amazing job.  Great tool.

One little feature request: could we make it add "from __future__ import
print_statement" to the top of files?

That one change is enough to make >95% of my converted scripts work fine
under 2.6 and 3.1 instead of just 3.1.

----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 94093
nosy: stutzbach
severity: normal
status: open
title: 2to3 should add from __future__ import print_statement
type: feature request
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7141>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to