Skip to content

Commit f501db2

Browse files
aeros1st1
authored andcommitted
Add whatsnew for removal of asyncio.loop.create_datagram_endpoint()'s *reuse_address* parameter (#17595)
1 parent 6a263cf commit f501db2

File tree

4 files changed

+37
-0
lines changed

4 files changed

+37
-0
lines changed

Doc/whatsnew/3.6.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2433,3 +2433,13 @@ In 3.6.7 the :mod:`tokenize` module now implicitly emits a ``NEWLINE`` token
24332433
when provided with input that does not have a trailing new line. This behavior
24342434
now matches what the C tokenizer does internally.
24352435
(Contributed by Ammar Askar in :issue:`33899`.)
2436+
2437+
Notable changes in Python 3.6.10
2438+
================================
2439+
2440+
Due to significant security concerns, the *reuse_address* parameter of
2441+
:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This is
2442+
because of the behavior of the socket option ``SO_REUSEADDR`` in UDP. For more
2443+
details, see the documentation for ``loop.create_datagram_endpoint()``.
2444+
(Contributed by Kyle Stanley, Antoine Pitrou, and Yury Selivanov in
2445+
:issue:`37228`.)

Doc/whatsnew/3.7.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,3 +2541,13 @@ This resolves a long standing issue where all virtual environments would have
25412541
to be upgraded or recreated with each Python update. However, note that this
25422542
release will still require recreation of virtual environments in order to get
25432543
the new scripts.
2544+
2545+
Notable changes in Python 3.7.6
2546+
===============================
2547+
2548+
Due to significant security concerns, the *reuse_address* parameter of
2549+
:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This is
2550+
because of the behavior of the socket option ``SO_REUSEADDR`` in UDP. For more
2551+
details, see the documentation for ``loop.create_datagram_endpoint()``.
2552+
(Contributed by Kyle Stanley, Antoine Pitrou, and Yury Selivanov in
2553+
:issue:`37228`.)

Doc/whatsnew/3.8.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2204,3 +2204,13 @@ Here's a summary of performance improvements since Python 3.3:
22042204
loop_overhead 0.3 0.5 0.6 0.4 0.3 0.3
22052205
22062206
(Measured from the macOS 64-bit builds found at python.org)
2207+
2208+
Notable changes in Python 3.8.1
2209+
===============================
2210+
2211+
Due to significant security concerns, the *reuse_address* parameter of
2212+
:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This is
2213+
because of the behavior of the socket option ``SO_REUSEADDR`` in UDP. For more
2214+
details, see the documentation for ``loop.create_datagram_endpoint()``.
2215+
(Contributed by Kyle Stanley, Antoine Pitrou, and Yury Selivanov in
2216+
:issue:`37228`.)

Doc/whatsnew/3.9.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,13 @@ that would produce an equivalent :class:`ast.AST` object when parsed.
129129
asyncio
130130
-------
131131

132+
Due to significant security concerns, the *reuse_address* parameter of
133+
:meth:`asyncio.loop.create_datagram_endpoint` is no longer supported. This is
134+
because of the behavior of the socket option ``SO_REUSEADDR`` in UDP. For more
135+
details, see the documentation for ``loop.create_datagram_endpoint()``.
136+
(Contributed by Kyle Stanley, Antoine Pitrou, and Yury Selivanov in
137+
:issue:`37228`.)
138+
132139
Added a new :term:`coroutine` :meth:`~asyncio.loop.shutdown_default_executor`
133140
that schedules a shutdown for the default executor that waits on the
134141
:class:`~concurrent.futures.ThreadPoolExecutor` to finish closing. Also,

0 commit comments

Comments
 (0)