]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127949: deprecate `asyncio.set_event_loop_policy` (#128024)
authorKumar Aditya <kumaraditya@python.org>
Wed, 18 Dec 2024 06:05:29 +0000 (11:35 +0530)
committerGitHub <noreply@github.com>
Wed, 18 Dec 2024 06:05:29 +0000 (11:35 +0530)
commit5892853fb71acd6530e1e241a9a4bcf71a61fb21
treebd17e169dbcf0d0e290b5208886da38baae675b1
parent559b0e7013f9cbf42a12fe9c86048d5cbb2f6f22
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.
46 files changed:
Doc/library/asyncio-policy.rst
Lib/asyncio/events.py
Lib/test/libregrtest/save_env.py
Lib/test/test_asyncgen.py
Lib/test/test_asyncio/test_base_events.py
Lib/test/test_asyncio/test_buffered_proto.py
Lib/test/test_asyncio/test_context.py
Lib/test/test_asyncio/test_eager_task_factory.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_futures.py
Lib/test/test_asyncio/test_futures2.py
Lib/test/test_asyncio/test_locks.py
Lib/test/test_asyncio/test_pep492.py
Lib/test/test_asyncio/test_proactor_events.py
Lib/test/test_asyncio/test_protocols.py
Lib/test/test_asyncio/test_queues.py
Lib/test/test_asyncio/test_runners.py
Lib/test/test_asyncio/test_selector_events.py
Lib/test/test_asyncio/test_sendfile.py
Lib/test/test_asyncio/test_server.py
Lib/test/test_asyncio/test_sock_lowlevel.py
Lib/test/test_asyncio/test_ssl.py
Lib/test/test_asyncio/test_sslproto.py
Lib/test/test_asyncio/test_staggered.py
Lib/test/test_asyncio/test_streams.py
Lib/test/test_asyncio/test_subprocess.py
Lib/test/test_asyncio/test_taskgroups.py
Lib/test/test_asyncio/test_tasks.py
Lib/test/test_asyncio/test_threads.py
Lib/test/test_asyncio/test_timeouts.py
Lib/test/test_asyncio/test_transports.py
Lib/test/test_asyncio/test_unix_events.py
Lib/test/test_asyncio/test_waitfor.py
Lib/test/test_asyncio/test_windows_events.py
Lib/test/test_asyncio/test_windows_utils.py
Lib/test/test_builtin.py
Lib/test/test_concurrent_futures/test_interpreter_pool.py
Lib/test/test_contextlib_async.py
Lib/test/test_coroutines.py
Lib/test/test_inspect/test_inspect.py
Lib/test/test_logging.py
Lib/test/test_os.py
Lib/test/test_pdb.py
Lib/test/test_sys_settrace.py
Lib/test/test_unittest/test_async_case.py
Lib/test/test_unittest/testmock/testasync.py