[Python-Dev] unicode Exception messages in py2.7 (original) (raw)
Brett Cannon brett at python.org
Fri Nov 15 19:03:06 CET 2013
- Previous message: [Python-Dev] unicode Exception messages in py2.7
- Next message: [Python-Dev] unicode Exception messages in py2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Nov 15, 2013 at 12:41 PM, Chris Barker <chris.barker at noaa.gov>wrote:
On Fri, Nov 15, 2013 at 9:21 AM, Armin Rigo <arigo at tunes.org> wrote:
> I figured that even using the traceback.py module and getting > "Exception: \u1234\u1235\u5321" is rather useless if you tried to > raise an exception with a message in Thai. yup. > I believe this to also be > a bug, so I opened https://bugs.pypy.org/issue1634 . According to > this thread, however, python-dev is against it, so I didn't bother > adding a CPython bug. According to that bug report, it looks like CPython doesn't comopletely handle unicode Exception messages even in py3? Is that really the case? And from this thread, I'd say that it's unlikely anyone want to chance this in py2, but I don't know that making py3 better is this regard is off the table.
Making changes and improvements to Python 3 is totally an option. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131115/784170a4/attachment.html>
- Previous message: [Python-Dev] unicode Exception messages in py2.7
- Next message: [Python-Dev] unicode Exception messages in py2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]