Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97443

Re: Python 2 ‘print’, coercing arguments to Unicode

From Laura Creighton <lac@openend.se>
Subject Re: Python 2 ‘print’, coercing arguments to Unicode
References <851td81g08.fsf@benfinney.id.au> <85wpv0z368.fsf@benfinney.id.au>
Date 2015-10-06 14:48 +0200
Newsgroups comp.lang.python
Message-ID <mailman.423.1444135703.28679.python-list@python.org> (permalink)

Show all headers | View raw


Hmm, now that I read the six document again
 @six.python_2_unicode_compatible

seems exactly what you are asking for ...

https://pythonhosted.org/six/
Laura

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python 2 ‘print’, coercing arguments to Unicode Laura Creighton <lac@openend.se> - 2015-10-06 14:48 +0200

csiph-web