]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport checkins:
authorWalter Dörwald <walter@livinglogic.de>
Tue, 12 Aug 2003 17:38:22 +0000 (17:38 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Tue, 12 Aug 2003 17:38:22 +0000 (17:38 +0000)
commit0098d8643341de44c731b398cf92c2e533cfb0e6
tree3d0053789790c5f3b79be33ef44626a0a46a8e9b
parent6c8980aecdbf7f435d1688a3b9d58ad13e2f06f2
Backport checkins:
* Enhance message for UnicodeEncodeError and UnicodeTranslateError.
  If there is only one bad character it will now be printed in a
  form that is a valid Python string.
* Add a unicode prefix to the characters in the UnicodeEncodeError
  and UnicodeTranslateError message.
Lib/test/test_codeccallbacks.py
Python/exceptions.c