[Python-3000] Recursive str
Michael Urman
murman at gmail.com
Wed Apr 16 19:57:29 CEST 2008
On Wed, Apr 16, 2008 at 11:05 AM, Jason Orendorff
<jason.orendorff at gmail.com> wrote:
> There really are two use cases here: a human-readable repr for
> error/warning/log messages; and a machine-readable, always-the-same,
> ASCII-only repr. Users want to be able to tweak the former.
Does machine-readable require ASCII-only, and does repr() guarantee
this? It sounded like the worries about not escaping Unicode
characters were related to it not visually distinguishing between
different encodings for the same visual results (as their
machine-readable Unicode strings, or encoded UTF-8 bytestreams, would
already differ).
--
Michael Urman
More information about the Python-3000
mailing list