cpython/Tools/gdb
Victor Stinner 0e5a41b8f5 libpython.py: py-bt commands escape unencodable characters
Encode unicode strings to the terminal encoding with backslashreplace error (as
Python does for sys.stderr) before writing them to sys.stdout. It fixes
UnicodeEncodeError on writing non-ascii characters in an ascii terminal (C
locale: ASCII encoding).
2010-08-17 22:49:25 +00:00
..
libpython.py libpython.py: py-bt commands escape unencodable characters 2010-08-17 22:49:25 +00:00