[Lldb-commits] [PATCH] D84017: [lldb] Make socket_packet_pump.py work in Python3
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 23 09:37:15 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4a3a821c68a1: [lldb] Make socket_packet_pump.py work in Python3 (authored by teemperor).
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84017/new/
https://reviews.llvm.org/D84017
Files:
lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py
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")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84017.280180.patch
Type: text/x-patch
Size: 679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200723/d2342a7c/attachment.bin>
More information about the lldb-commits
mailing list