Armin Rigo <[email protected]> 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 <[email protected]> <https://bugs.pypy.org/issue1634> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
