[New-bugs-announce] [issue7141] 2to3 should add from __future__ import print_statement
report at bugs.python.org
Thu Oct 15 17:28:34 CEST 2009
New submission from Daniel Stutzbach <daniel at 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)
title: 2to3 should add from __future__ import print_statement
type: feature request
versions: Python 2.7, Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce