changeset: 103350:199aca18d9a1 parent: 103348:38802c38cfe1 parent: 103349:9b1f8c68de4c user: Davin Potts date: Thu Sep 08 14:47:23 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 38802c38cfe1 -r 199aca18d9a1 Lib/multiprocessing/managers.py --- a/Lib/multiprocessing/managers.py Thu Sep 08 15:34:08 2016 -0400 +++ b/Lib/multiprocessing/managers.py Thu Sep 08 14:47:23 2016 -0500 @@ -283,7 +283,7 @@ try: send(msg) except Exception as e: - send(('#UNSERIALIZABLE', repr(msg))) + send(('#UNSERIALIZABLE', format_exc())) except Exception as e: util.info('exception in thread serving %r', threading.current_thread().name) diff -r 38802c38cfe1 -r 199aca18d9a1 Misc/NEWS --- a/Misc/NEWS Thu Sep 08 15:34:08 2016 -0400 +++ b/Misc/NEWS Thu Sep 08 14:47:23 2016 -0500 @@ -248,6 +248,9 @@ - Issue #6766: Distributed reference counting added to multiprocessing to support nesting of shared values / proxy objects. +- Issue #21201: Improves readability of multiprocessing error message. Thanks + to Wojciech Walczak for patch. + C API -----