changeset: 103327:cbf81969aba4 branch: 2.7 parent: 103296:3f04287e7bea user: Davin Potts date: Thu Sep 08 13:07:13 2016 -0500 files: Lib/multiprocessing/managers.py Misc/NEWS description: Issue #21201: Improves readability of multiprocessing error message from server to client for certain exceptions diff -r 3f04287e7bea -r cbf81969aba4 Lib/multiprocessing/managers.py --- a/Lib/multiprocessing/managers.py Thu Sep 08 00:07:40 2016 -0700 +++ b/Lib/multiprocessing/managers.py Thu Sep 08 13:07:13 2016 -0500 @@ -287,7 +287,7 @@ try: send(msg) except Exception, e: - send(('#UNSERIALIZABLE', repr(msg))) + send(('#UNSERIALIZABLE', format_exc())) except Exception, e: util.info('exception in thread serving %r', threading.current_thread().name) diff -r 3f04287e7bea -r cbf81969aba4 Misc/NEWS --- a/Misc/NEWS Thu Sep 08 00:07:40 2016 -0700 +++ b/Misc/NEWS Thu Sep 08 13:07:13 2016 -0500 @@ -125,6 +125,9 @@ - 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 ----