diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-06-05 06:28:55 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-05 06:28:55 (GMT) |
commit | ed0425c60abe1b746b1ca5b4039984d2ad6583c4 (patch) | |
tree | dba5a8819bf4f6cf6ef4561b3b03cdb777794ddb /Misc | |
parent | 889f914edb4253bdf4b475ed594199d67fcc08b7 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |