mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-127949: deprecate asyncio.set_event_loop_policy
(#128024)
First step towards deprecating the asyncio policy system. This deprecates `asyncio.set_event_loop_policy` and will be removed in Python 3.16.
This commit is contained in:
parent
559b0e7013
commit
5892853fb7
46 changed files with 81 additions and 67 deletions
|
@ -17,7 +17,7 @@ from test import support
|
|||
|
||||
|
||||
def tearDownModule():
|
||||
asyncio.set_event_loop_policy(None)
|
||||
asyncio._set_event_loop_policy(None)
|
||||
|
||||
|
||||
def _fakefunc(f):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue