[Python-Dev] Deprecate from __future__ import unicode_literals
? (original) (raw)
Ethan Furman ethan at stoneleaf.us
Fri Dec 16 16:07:01 EST 2016
- Previous message (by thread): [Python-Dev] Deprecate `from __future__ import unicode_literals`?
- Next message (by thread): [Python-Dev] Deprecate `from __future__ import unicode_literals`?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/16/2016 11:24 AM, Guido van Rossum wrote:
I am beginning to think that
from _future_ import unicodeliterals
does more harm than good. I don't recall exactly why we introduced it, but with the restoration of u"" literals in Python 3.3 we have a much better story for writing straddling code that is unicode-correct.
So cross-version code would be primarily 2.7 and 3.3+ ? I can live with that.
--
Ethan
- Previous message (by thread): [Python-Dev] Deprecate `from __future__ import unicode_literals`?
- Next message (by thread): [Python-Dev] Deprecate `from __future__ import unicode_literals`?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]