Index: lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py =================================================================== --- lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py +++ lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py @@ -6,7 +6,6 @@ import select import threading import traceback -import codecs from six.moves import queue from lldbsuite.support import seven @@ -25,7 +24,7 @@ def _dump_queue(the_queue): while not the_queue.empty(): - print(codecs.encode(the_queue.get(True), "string_escape")) + print(repr(the_queue.get(True))) print("\n")