-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional clarification for creating objects that require a runn…
- Loading branch information
1 parent
01ed189
commit 4c5e0a3
Showing
2 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
8555.breaking.rst |