[Python-checkins] r80416 - in python/branches/py3k: Lib/test/test_gdb.py Misc/NEWS
victor.stinner
python-checkins at python.org
Fri Apr 23 22:33:56 CEST 2010
Author: victor.stinner
Date: Fri Apr 23 22:33:55 2010
New Revision: 80416
Log:
Issue #8495: test_gdb uses replace error handler when decoding utf8 output
Modified:
python/branches/py3k/Lib/test/test_gdb.py
python/branches/py3k/Misc/NEWS
Modified: python/branches/py3k/Lib/test/test_gdb.py
==============================================================================
--- python/branches/py3k/Lib/test/test_gdb.py (original)
+++ python/branches/py3k/Lib/test/test_gdb.py Fri Apr 23 22:33:55 2010
@@ -59,7 +59,7 @@
out, err = subprocess.Popen(
args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
).communicate()
- return out.decode('utf-8'), err.decode('utf-8')
+ return out.decode('utf-8', 'replace'), err.decode('utf-8', 'replace')
def get_stack_trace(self, source=None, script=None,
breakpoint=BREAKPOINT_FN,
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Fri Apr 23 22:33:55 2010
@@ -1142,8 +1142,8 @@
- Issue #8108: test_ftplib's non-blocking SSL server now has proper handling
of SSL shutdowns.
-- Issues #8279, #8330, #8437, #8480: Fix test_gdb failures, patch written by
- Dave Malcolm
+- Issues #8279, #8330, #8437, #8480, #8495: Fix test_gdb failures, patch
+ written by Dave Malcolm
- Issue #3864: Skip three test_signal tests on freebsd6 because they fail
if any thread was previously started, most likely due to a platform bug.
More information about the Python-checkins
mailing list