]> granicus.if.org Git - python/commit
Issue #8559: improve unicode support of (gdb) libpython.py
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 19 May 2010 23:04:56 +0000 (23:04 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 19 May 2010 23:04:56 +0000 (23:04 +0000)
commit150016fd2433231d59a6ee38e46849bd0a57a3b8
tree4635040a51fa87bf84c144d8ea0ec5ce0ec2024e
parent06710a84217092cba587310690d350ef5d974002
Issue #8559: improve unicode support of (gdb) libpython.py

 * Escape non printable characters (use locale.getpreferredencoding())
 * Fix support of surrogate pairs
 * test_gdb.py: use ascii() instead of repr() in gdb program arguments to avoid
   encoding issues
 * Fix test_strings() of test_gdb.py for encoding different than UTF-8
   (eg. ACSII)
Lib/test/test_gdb.py
Tools/gdb/libpython.py