From f287cccdeae380eb24fea64ff4916bcb755798a6 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 07:46:57 -0500 Subject: [PATCH] [PR #8583/f185dd19 backport][3.10] Add additional clarification for creating objects that require a running event loop (#8585) Co-authored-by: J. Nick Koston --- CHANGES/8555.breaking.rst | 15 ++++++++++----- CHANGES/8583.breaking.rst | 1 + 2 files changed, 11 insertions(+), 5 deletions(-) create mode 120000 CHANGES/8583.breaking.rst diff --git a/CHANGES/8555.breaking.rst b/CHANGES/8555.breaking.rst index cf451fcc27a..54850482c70 100644 --- a/CHANGES/8555.breaking.rst +++ b/CHANGES/8555.breaking.rst @@ -1,8 +1,13 @@ -Creating :class:`aiohttp.TCPConnector`, :class:`aiohttp.ClientSession`, or - :class:`aiohttp.CookieJar` instances without a running event loop now - raises a :exc:`RuntimeError`. - - -- by :user:`asvetlov` +Creating :py:class:`aiohttp.TCPConnector`, + :py:class:`aiohttp.ClientSession`, + :py:class:`~aiohttp.resolver.ThreadedResolver` + :py:class:`aiohttp.web.Server`, + or :py:class:`aiohttp.CookieJar` + instances without a running event loop now + raises a :exc:`RuntimeError` + -- by :user:`asvetlov`. Creating these objects without a running event loop was deprecated in :issue:`3372` which was released in version 3.5.0. + +This change first appeared in version 3.10.0 as :issue:`6378`. diff --git a/CHANGES/8583.breaking.rst b/CHANGES/8583.breaking.rst new file mode 120000 index 00000000000..f743fcc1eb0 --- /dev/null +++ b/CHANGES/8583.breaking.rst @@ -0,0 +1 @@ +8555.breaking.rst \ No newline at end of file