8c7ff7b8cf
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. |
||
---|---|---|
.. | ||
__init__.py | ||
asgi.py | ||
base.py | ||
exception.py | ||
wsgi.py |