[Python-Dev] PEP 414 - Unicode Literals for Python 3
Tres Seaver
tseaver at palladion.com
Mon Feb 27 15:59:10 CET 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/27/2012 06:34 AM, Giampaolo Rodolà wrote:
> Il 25 febbraio 2012 21:23, Armin Ronacher
> <armin.ronacher at active-4.com> ha scritto:
>> Hi,
>>
>> I just uploaded PEP 414 which proposes am optional 'u' prefix for
>> string literals for Python 3.
>>
>> You can read the PEP online:
>> http://www.python.org/dev/peps/pep-0414/
>>
>> This is a followup to the discussion about this topic here on the
>> mailinglist and on twitter/IRC over the last few weeks.
>>
>>
>> Regards, Armin
>
> If the main point of this proposal is avoiding an explicit 2to3 run
> on account of 2to3 being too slow then I'm -1.
The main point is that 2to3 as a strategy for "straddling" python2 and
python3 is a showstopper for folks who actually need to straddle (as
opposed to one-time conversion):
- - 2to3 erformance on large projects sucks.
- - 2to3 introduces oddities in testing, coverage, etc.
- - 2to3 creates problems with stack traces / bug reports from Py3k users.
There are a *lot* of folks who have abandoned 2to3 in favor of "single
codebase": the PEP addresses one of the last remaining issues to making
such codebases clean and easy to maintain (the sys.exec_info hack is not
needed in Python >= 2.6).
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9Lmj4ACgkQ+gerLs4ltQ5wBgCfXWUe81vnQh5ptKpGhqLTOL5L
oUgAnRrgEUFIq85rgGU6Ky3kN+KzZaqV
=CNVl
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list