(original) (raw)


On 10 Mar 2014 23:26, "Antoine Pitrou" <solipsis@pitrou.net> wrote:
\>
\> On Mon, 10 Mar 2014 23:09:53 +1000
\> Nick Coghlan <ncoghlan@gmail.com> wrote:
\> > On 10 Mar 2014 11:36, "r.david.murray" <python-checkins@python.org> wrote:
\> > >
\> > > +\* The \`\`U\`\` mode accepted by various \`\`open\`\` functions is deprecated.
\> > > + �In Python3 it does not do anything useful, and should be replaced by
\> > > + �appropriate uses of :class:\`io.TextIOWrapper\` (if needed) and its
\> > \*newline\*
\> > > + �argument.
\> > > +
\> >
\> > Huh, I missed that change. Don't we still need U when writing 2/3
\> > compatible code at this point?
\>
\> Define "need" :-) I rarely if ever see "U" used in 2.x code, so I don't
\> think the need is very pressing in general.

True, normal text mode is much more common. I'm OK with waiting to see if anyone actually complains about the deprecation :)

Cheers,
Nick.

>
\> Regards
\>
\> Antoine.
\>
\>
\> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\> Python-checkins mailing list
\> Python-checkins@python.org
\> https://mail.python.org/mailman/listinfo/python-checkins