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


Groups > comp.lang.python > #97461 > unrolled thread

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

Started byTerry Reedy <tjreedy@udel.edu>
First post2015-10-06 19:07 -0400
Last post2015-10-07 00:50 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python 2 ‘print’, coercing arguments to Unicode Terry Reedy <tjreedy@udel.edu> - 2015-10-06 19:07 -0400
    Re: Python 2 'print', coercing arguments to Unicode wxjmfauth@gmail.com - 2015-10-07 00:50 -0700

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

FromTerry Reedy <tjreedy@udel.edu>
Date2015-10-06 19:07 -0400
SubjectRe: Python 2 ‘print’, coercing arguments to Unicode
Message-ID<mailman.437.1444172868.28679.python-list@python.org>
On 10/6/2015 6:45 AM, Ben Finney wrote:
> Ben Finney <ben+python@benfinney.id.au> writes:

> How can I convince ‘print’, everywhere throughout a module, that it
> should coerce its arguments using ‘unicode’?

Use Python 3.  I am only half joking.  Switching to unicode  instead of 
bytes as the default text type fixed numerous bugs all at once.

-- 
Terry Jan Reedy

[toc] | [next] | [standalone]


#97472 — Re: Python 2 'print', coercing arguments to Unicode

Fromwxjmfauth@gmail.com
Date2015-10-07 00:50 -0700
SubjectRe: Python 2 'print', coercing arguments to Unicode
Message-ID<82c2d227-55fc-43dc-a0ae-14ffa0eb256b@googlegroups.com>
In reply to#97461
Le mercredi 7 octobre 2015 01:08:18 UTC+2, Terry Reedy a écrit :
> 
> [...] Switching to unicode  instead of 
> bytes as the default text type fixed numerous bugs all at once.
> [...]

This is a very interesting sentence.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web