summaryrefslogtreecommitdiffstats
path: root/Python/initconfig.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-01-13 12:40:29 (GMT)
committerGitHub <noreply@github.com>2023-01-13 12:40:29 (GMT)
commite5bd5ad70d9e549eeb80aadb4f3ccb0f2f23266d (patch)
tree3c13553b04873b8cd80d10a877740031aa324b31 /Python/initconfig.c
parent468c3bf79890ef614764b4e7543608876c792794 (diff)
downloadcpython-e5bd5ad70d9e549eeb80aadb4f3ccb0f2f23266d.zip
cpython-e5bd5ad70d9e549eeb80aadb4f3ccb0f2f23266d.tar.gz
cpython-e5bd5ad70d9e549eeb80aadb4f3ccb0f2f23266d.tar.bz2
gh-100160: Restore and deprecate implicit creation of an event loop (GH-100410)
Partially revert changes made in GH-93453. asyncio.DefaultEventLoopPolicy.get_event_loop() now emits a DeprecationWarning and creates and sets a new event loop instead of raising a RuntimeError if there is no current event loop set. Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Diffstat (limited to 'Python/initconfig.c')
0 files changed, 0 insertions, 0 deletions