On Mon, 27 Feb 2012 22:11:36 +0000, Armin Ronacher 
<armin.ronac...@active-4.com> wrote:
> On 2/27/12 9:58 PM, R. David Murray wrote:
> > But the PEP doesn't address the unicode_literals plus str() approach.
> > That is, the rationale currently makes a false claim.
> Which would be exactly what that u() does not do?

The rationale claims there's no way to spell "native string" if you use
unicode_literals, which is not true.

It would be different from u('') in that I would expect that there are
far fewer instances where 'native string' is required than there are
places where unicode strings work (and should therefore be preferred).

This only matters now in order to make the PEP more accurate, but I
think that is a good thing to do.

--David
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to