Typing: use wsgiref.types to validate types and fix issues uncovered (#2467)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Typing: use wsgiref.types to validate types and fix issues uncovered - start_response() must return a write(bytes) function, even though this is now deprecated. It's fine to be a no-op here. - sys.exc_info() can return (None, None, None), so make sure to handle that case. * remove typing_extensions
authored by Adrian Garcia Badaracco · committed by GitHub · parent 8327e13 · Browse files · 1 file+24 added−6 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Martijn Pieters <mj@zopatista.com>
Diff stats
1 file+24 added−6 removed
- other:+24 added−6 removed