[issue7847] Remove 'python -U' or document it

Marc-Andre Lemburg report at bugs.python.org
Wed Feb 3 18:55:04 CET 2010


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Barry A. Warsaw wrote:
> 
> New submission from Barry A. Warsaw <barry at python.org>:
> 
> Python 2.x supports a -U flag which has the effect largely the same as 'from __future__ import unicode_literals'.  However -U is undocumented anywhere except import.c.  We should either remove -U support from Python 2.7 or document it (and indicate in that documentation that the future import is preferred).

+1 on removing it.

It has been deliberately been undocumented since Python 2.2
in order to be able to phase out its use and finally remove it.

----------
nosy: +lemburg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7847>
_______________________________________


More information about the Python-bugs-list mailing list