8000 gh-94597: deprecate asyncio.set_event_loop_policy by graingert · Pull Request #110728 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-94597: deprecate asyncio.set_event_loop_policy #110728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move set_event_loop_policy deprecation notice to asyncio section
  • Loading branch information
graingert committed Nov 1, 2023
commit dc257ae589b8606d096c99726304bbda7477b962
8 changes: 5 additions & 3 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,11 @@ Deprecated
They will be removed in Python 3.15.
(Contributed by Victor Stinner in :gh:`105096`.)

* :mod:`asyncio`:

* :func:`asyncio.set_event_loop_policy` will be removed along with the
rest of the asyncio policy system in Python 3.15 or later.

* Passing more than one positional argument to :func:`sqlite3.connect` and the
:class:`sqlite3.Connection` constructor is deprecated. The remaining
parameters will become keyword-only in Python 3.15.
Expand Down Expand Up @@ -508,9 +513,6 @@ Pending Removal in Python 3.15
All arguments will be removed from :func:`threading.RLock` in Python 3.15.
(Contributed by Nikita Sobolev in :gh:`102029`.)

* :func:`asyncio.set_event_loop_policy` will be removed along with the
rest of the asyncio policy system in Python 3.15 or later.

Pending Removal in Python 3.16
------------------------------

Expand Down
0