summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-05 06:28:55 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-05 06:28:55 (GMT)
commited0425c60abe1b746b1ca5b4039984d2ad6583c4 (patch)
treedba5a8819bf4f6cf6ef4561b3b03cdb777794ddb /Misc
parent889f914edb4253bdf4b475ed594199d67fcc08b7 (diff)
downloadcpython-ed0425c60abe1b746b1ca5b4039984d2ad6583c4.zip
cpython-ed0425c60abe1b746b1ca5b4039984d2ad6583c4.tar.gz
cpython-ed0425c60abe1b746b1ca5b4039984d2ad6583c4.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c51072b..5e7d1ed 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -131,6 +131,11 @@ Core and Builtins
Library
-------
+- Issue #24291: Fix wsgiref.simple_server.WSGIRequestHandler to completely
+ write data to the client. Previously it could do partial writes and
+ truncate data. Also, wsgiref.handler.ServerHandler can now handle stdout
+ doing partial writes, but this is deprecated.
+
- Issue #26809: Add ``__all__`` to :mod:`string`. Patch by Emanuel Barry.
- Issue #26373: subprocess.Popen.communicate now correctly ignores