mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
Issue #23430: Stop socketserver from catching SystemExit etc from handlers
Also make handle_error() consistently output to stderr, and fix the documentation.
This commit is contained in:
parent
86a8be00ed
commit
d9108d1253
5 changed files with 131 additions and 15 deletions
|
@ -304,7 +304,11 @@ Server Objects
|
|||
This function is called if the :meth:`~BaseRequestHandler.handle`
|
||||
method of a :attr:`RequestHandlerClass` instance raises
|
||||
an exception. The default action is to print the traceback to
|
||||
standard output and continue handling further requests.
|
||||
standard error and continue handling further requests.
|
||||
|
||||
.. versionchanged:: 3.6
|
||||
Now only called for exceptions derived from the :exc:`Exception`
|
||||
class.
|
||||
|
||||
|
||||
.. method:: handle_timeout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue