Terry J. Reedy added the comment:
I believe this is equivalent.
In general, bare excepts should be either made more specific or commented as
intentional. Since derived classes can override finish_request, and fail any
which way, the latter is probably appropriate here:
# derived classes may override finish_request
----------
nosy: +terry.reedy
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25139>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com