[docs] [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"

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>

More information about the docs mailing list