summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
diff options
context:
space:
mode:
authorKumar Aditya <kumaraditya@python.org>2024-11-04 08:51:20 (GMT)
committerGitHub <noreply@github.com>2024-11-04 08:51:20 (GMT)
commitfe5a6ab7bea927e887b7b3c2d4e8fe8eac7106c3 (patch)
treea5be0f4c827f80f43dcacc6a967a22f652d21cf1 /Misc/NEWS.d/next/Library
parent0d80777981f95bbc79b146fc78b2189c82521ab9 (diff)
downloadcpython-fe5a6ab7bea927e887b7b3c2d4e8fe8eac7106c3.zip
cpython-fe5a6ab7bea927e887b7b3c2d4e8fe8eac7106c3.tar.gz
cpython-fe5a6ab7bea927e887b7b3c2d4e8fe8eac7106c3.tar.bz2
gh-126353: remove implicit creation of loop from `asyncio.get_event_loop` (#126354)
Remove implicit creation of loop from `asyncio.get_event_loop`. This is a step forward of deprecating the policy system of asyncio.
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r--Misc/NEWS.d/next/Library/2024-11-03-10-48-07.gh-issue-126353.ChDzot.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-11-03-10-48-07.gh-issue-126353.ChDzot.rst b/Misc/NEWS.d/next/Library/2024-11-03-10-48-07.gh-issue-126353.ChDzot.rst
new file mode 100644
index 0000000..16d508b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-11-03-10-48-07.gh-issue-126353.ChDzot.rst
@@ -0,0 +1,2 @@
+:func:`asyncio.get_event_loop` now does not implicitly creates an event loop.
+It now raises a :exc:`RuntimeError` if there is no set event loop. Patch by Kumar Aditya.