django1/django/core/handlers
Adam Johnson 8c7ff7b8cf
Removed unreachable SystemExit check.
This check dates back to Python <2.5, before Python introduced
BaseException to prevent exactly unwarranted catching of SystemExit
(and others).

response_for_exception() is only called under `except Exception` or
`except Http404` so it's now impossible for a SystemExit instance to
reach the branch.
2021-01-19 07:04:53 +01:00
..
__init__.py Added WSGI support. Created core.handlers package. Moved ALL mod_python-specific code to django.core.handlers.modpython. Note that django.core.handler is still a valid mod_python handler but IS DEPRECATED. Use django.core.handlers.modpython, instead. 2005-07-18 06:30:26 +00:00
asgi.py Fixed #31515 -- Made ASGIHandler dispatch lifecycle signals with thread sensitive. 2020-05-06 09:42:02 +02:00
base.py Fixed #32299 -- Prevented mutating handlers when processing middlewares marking as unused in an async context. 2020-12-29 09:04:35 +01:00
exception.py Removed unreachable SystemExit check. 2021-01-19 07:04:53 +01:00
wsgi.py Fixed #31240 -- Properly closed FileResponse when wsgi.file_wrapper is used. 2020-02-11 20:39:12 +01:00