]> granicus.if.org Git - python/commit
Issue #24291: Avoid WSGIRequestHandler doing partial writes
authorMartin Panter <vadmium+py@gmail.com>
Sun, 5 Jun 2016 06:28:55 +0000 (06:28 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 5 Jun 2016 06:28:55 +0000 (06:28 +0000)
commited0425c60abe1b746b1ca5b4039984d2ad6583c4
treedba5a8819bf4f6cf6ef4561b3b03cdb777794ddb
parent889f914edb4253bdf4b475ed594199d67fcc08b7
Issue #24291: Avoid WSGIRequestHandler doing partial writes

If the underlying send() method indicates a partial write, such as when the
call is interrupted to handle a signal, the server would silently drop the
remaining data.

Also add deprecated support for SimpleHandler.stdout.write() doing partial
writes.
Doc/library/wsgiref.rst
Lib/test/test_wsgiref.py
Lib/wsgiref/handlers.py
Lib/wsgiref/simple_server.py
Misc/NEWS