Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97461
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Python 2 ‘print’, coercing arguments to Unicode |
| Date | 2015-10-06 19:07 -0400 |
| References | <851td81g08.fsf@benfinney.id.au> <85wpv0z368.fsf@benfinney.id.au> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.437.1444172868.28679.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web