Skip to content

DISCUSSION: Use unicode_literals #817

@dhermes

Description

@dhermes

Just reading @brettcannon PyCon slides and it occurs to me we could eliminate some of our worries / discussions around 'foo' meaning different things in Python 2 vs. Python 3.

Python 2.7.6 (default, Mar 22 2014, 22:59:56) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import unicode_literals
>>> 'foo'
u'foo'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions