This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter
Date 2015-02-10.03:34:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423539248.06.0.0190891390955.issue23430@psf.upfronthosting.co.za>
In-reply-to
Content
I propose changing the socket servers to not suppress exceptions that are meant to exit the interpreter. This is most applicable to single threaded servers, but my patch does the same thing for multithreading servers. It no longer catches exceptions that are not derived from the Exception class, such as KeyboardInterrupt and SystemExit. The shutdown_request() method is still called in all cases though.

I also added a test for the forking server’s handle_error() method.
History
Date User Action Args
2015-02-10 03:34:08martin.pantersetrecipients: + martin.panter
2015-02-10 03:34:08martin.pantersetmessageid: <1423539248.06.0.0190891390955.issue23430@psf.upfronthosting.co.za>
2015-02-10 03:34:07martin.panterlinkissue23430 messages
2015-02-10 03:34:07martin.pantercreate