[Python-Dev] Deprecate `from __future__ import unicode_literals`?

Ethan Furman ethan at stoneleaf.us
Fri Dec 16 16:07:01 EST 2016


On 12/16/2016 11:24 AM, Guido van Rossum wrote:

> I am beginning to think that `from __future__ import unicode_literals` 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~


More information about the Python-Dev mailing list