[Python-3000] PEP 3138- String representation in Python 3000 (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 16 03:39:54 CEST 2008


Paul Moore wrote:

The key point for me is that print(repr(arbitrarystring)) is guaranteed to display correctly, even on my limited-capability terminal, precisely because it only uses ASCII and no matter how dumb, all terminals I know of display ASCII.

That still sounds like something that the I/O object connected to the terminal should deal with. You'll have the same problem with any other unicode output that ends up going to the terminal, so it has to deal with it anyway.

-- Greg



More information about the Python-3000 mailing list