changeset: 103349:9b1f8c68de4c branch: 3.5 parent: 103334:e1987bf14148 user: Davin Potts date: Thu Sep 08 14:40:36 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 e1987bf14148 -r 9b1f8c68de4c Lib/multiprocessing/managers.py --- a/Lib/multiprocessing/managers.py Thu Sep 08 18:33:00 2016 +0000 +++ b/Lib/multiprocessing/managers.py Thu Sep 08 14:40:36 2016 -0500 @@ -275,7 +275,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 e1987bf14148 -r 9b1f8c68de4c Misc/NEWS --- a/Misc/NEWS Thu Sep 08 18:33:00 2016 +0000 +++ b/Misc/NEWS Thu Sep 08 14:40:36 2016 -0500 @@ -221,6 +221,9 @@ - Issue #27930: Improved behaviour of logging.handlers.QueueListener. Thanks to Paulo Andrade and Petr Viktorin for the analysis and patch. +- Issue #21201: Improves readability of multiprocessing error message. Thanks + to Wojciech Walczak for patch. + IDLE ----