Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment: I've been aware for some time that exception messages in Python 2 can't be Unicode, but I wasn't sure which encoding to use, so I've decided to use that of sys.stdout.
It appears to work OK in IDLE and at the Python prompt. issue2636-20100211.zip is the new version of the regex module. ---------- Added file: http://bugs.python.org/file16205/issue2636-20100211.zip _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2636> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com