[pypy-issue] [issue1634] Exception: ..unreadable backslash stuff..
Armin Rigo
tracker at bugs.pypy.org
Sat Nov 16 18:17:35 CET 2013
Armin Rigo <armin.rigo at gmail.com> added the comment:
Well, now that I'm past the original eyebrow-raising reaction, I guess the
obvious answer is: don't raise exceptions with unicode messages. The message is
going to be missing (CPython 2) or unreadable ( PyPy or traceback.py). Instead,
raise exceptions with messages in English. It is surely something you learn
very early if you write Python code in a non-English setting. I suspect that's
why it was never considered a bug but just a fact of life.
CPython 3 does the right thing about this, as far as I can tell.
----------
status: unread -> chatting
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1634>
________________________________________
More information about the pypy-issue
mailing list