[Python-Dev] PEP 414 - Unicode Literals for Python 3 (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Tue Feb 28 13:21:11 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 Tue, Feb 28, 2012 at 10:10 PM, Vinay Sajip <vinay_sajip at yahoo.co.uk> wrote:
If the 2.x code depends on having u'xxx' literals, then 3.2 testing will potentially involve running a fixer on all files in the project every time a change is made, writing to a separate directory, or else a fixer which is integrated into the editing environment so it knows what changed. This is painful, and what motivated PEP 314 in the first place - which seems ironic.
No, the real idea behind PEP 414 is that most ports that rely on it simply won't support 3.2 - they will only target 3.3+.
The u"" fixer will just be one more tool in the arsenal of those that do want to support 3.2 (either because they want to target Ubuntu's LTS 3.2 stack, or for their own reasons). All of the other alternatives (such as separate branches or the unicode_literals future import) will also remain available to them.
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- 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 ]