Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97456 > unrolled thread
| Started by | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| First post | 2015-10-07 08:23 +1100 |
| Last post | 2015-10-07 08:23 +1100 |
| Articles | 1 — 1 participant |
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.
Re: Python 2 ‘print’, coercing arguments to Unicode Ben Finney <ben+python@benfinney.id.au> - 2015-10-07 08:23 +1100
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2015-10-07 08:23 +1100 |
| Subject | Re: Python 2 ‘print’, coercing arguments to Unicode |
| Message-ID | <mailman.434.1444166612.28679.python-list@python.org> |
Laura Creighton <lac@openend.se> writes: > Hmm, now that I read the six document again > @six.python_2_unicode_compatible Peter Otten <__peter__@web.de> writes: > I don't think this is possible with the print statement, but the > print() function can be replaced with anything you like: Hmm. I am more looking for something that doesn't involve replacing ‘print’, but rather to hook into whatever it uses to coerce the type of its arguments. -- \ “The problem with television is that the people must sit and | `\ keep their eyes glued on a screen: the average American family | _o__) hasn't time for it.” —_The New York Times_, 1939 | Ben Finney
Back to top | Article view | comp.lang.python
csiph-web