Kaydet (Commit) 280290ad authored tarafından Davin Potts's avatar Davin Potts

Issue #21201: Improves readability of multiprocessing error message from server…

Issue #21201: Improves readability of multiprocessing error message from server to client for certain exceptions
üst 794b2912
...@@ -287,7 +287,7 @@ class Server(object): ...@@ -287,7 +287,7 @@ class Server(object):
try: try:
send(msg) send(msg)
except Exception, e: except Exception, e:
send(('#UNSERIALIZABLE', repr(msg))) send(('#UNSERIALIZABLE', format_exc()))
except Exception, e: except Exception, e:
util.info('exception in thread serving %r', util.info('exception in thread serving %r',
threading.current_thread().name) threading.current_thread().name)
......
...@@ -125,6 +125,9 @@ Library ...@@ -125,6 +125,9 @@ Library
- Issue #25455: Fixed a crash in repr of cElementTree.Element with recursive tag. - Issue #25455: Fixed a crash in repr of cElementTree.Element with recursive tag.
- Issue #21201: Improves readability of multiprocessing error message. Thanks
to Wojciech Walczak for patch.
IDLE IDLE
---- ----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment