[Python-Dev] PEP 414 - Unicode Literals for Python 3 (original) (raw)
R. David Murray rdmurray at bitdance.com
Tue Feb 28 03:04:43 CET 2012
- Previous message: [Python-Dev] PEP 414 - Unicode Literals for Python 3
- Next message: [Python-Dev] PEP 414 - Unicode Literals for Python 3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 27 Feb 2012 22:11:36 +0000, Armin Ronacher <armin.ronacher at active-4.com> wrote:
On 2/27/12 9:58 PM, R. David Murray wrote: > But the PEP doesn't address the unicodeliterals 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
- Previous message: [Python-Dev] PEP 414 - Unicode Literals for Python 3
- Next message: [Python-Dev] PEP 414 - Unicode Literals for Python 3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]