[Python-checkins] cpython (3.6): Issue #28089: Document TCP_NODELAY in asyncio

ned.deily python-checkins at python.org
Fri Dec 16 02:44:40 EST 2016


https://hg.python.org/cpython/rev/dfd1019f75f9
changeset:   105658:dfd1019f75f9
branch:      3.6
user:        Yury Selivanov <yury at magic.io>
date:        Mon Dec 12 16:44:58 2016 -0500
summary:
  Issue #28089: Document TCP_NODELAY in asyncio

Initial patch by Mariatta Wijaya.
(grafted from 853e3f4d6cd98ac4590238bc1c60e40fd8ed3895)

files:
  Doc/library/asyncio-protocol.rst |  3 +++
  Doc/whatsnew/3.6.rst             |  3 +++
  2 files changed, 6 insertions(+), 0 deletions(-)


diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -25,6 +25,9 @@
 
 The transport classes are :ref:`not thread safe <asyncio-multithreading>`.
 
+.. versionchanged:: 3.6
+   The socket option ``TCP_NODELAY`` is now set by default.
+
 
 BaseTransport
 -------------
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -875,6 +875,9 @@
   but that use asyncio to handle them.
   (Contributed by Jim Fulton in :issue:`27392`.)
 
+* ``TCP_NODELAY`` flag is now set for all TCP transports by default.
+  (Contributed by Yury Selivanov in :issue:`27456`.)
+
 
 binascii
 --------

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list