[issue15204] Deprecate the 'U' open mode

Nadeem Vawda report at bugs.python.org
Thu Jun 28 23:28:36 CEST 2012


Nadeem Vawda <nadeem.vawda at gmail.com> added the comment:

+1 for the general idea of deprecating and eventually removing the "U"
modes.

But I agree with David, that it doesn't make sense to have separate steps
for 3.5 and 3.6/4.0. If you make the code raise an exception when "U" is
used, how is that different from what will happen when you remove the
code for processing it? Surely we want it to eventually be treated just
like any other invalid mode string?

----------

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


More information about the Python-bugs-list mailing list