summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2020-02-01 11:12:52 (GMT)
committerGitHub <noreply@github.com>2020-02-01 11:12:52 (GMT)
commit90d9ba6ef10af32e8dfe0649789c3a8ccf419e95 (patch)
tree5cd3e31fa3f1508ff72bfa0991bcdd8eeb9e3259 /Misc
parentabb9a448dee3e18c69080231fbeba980bf048211 (diff)
downloadcpython-90d9ba6ef10af32e8dfe0649789c3a8ccf419e95.zip
cpython-90d9ba6ef10af32e8dfe0649789c3a8ccf419e95.tar.gz
cpython-90d9ba6ef10af32e8dfe0649789c3a8ccf419e95.tar.bz2
bpo-34793: Drop old-style context managers in asyncio.locks (GH-17533)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-12-09-17-24-29.bpo-34793.D82Dyu.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-12-09-17-24-29.bpo-34793.D82Dyu.rst b/Misc/NEWS.d/next/Library/2019-12-09-17-24-29.bpo-34793.D82Dyu.rst
new file mode 100644
index 0000000..2089285
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-12-09-17-24-29.bpo-34793.D82Dyu.rst
@@ -0,0 +1,3 @@
+Remove support for ``with (await asyncio.lock):`` and ``with (yield from
+asyncio.lock):``. The same is correct for ``asyncio.Condition`` and
+``asyncio.Semaphore``.