aboutsummaryrefslogtreecommitdiff
path: root/docs/genrefman.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-01-01 14:33:23 -0500
committerEli Schwartz <eschwartz@archlinux.org>2023-01-04 16:46:52 -0500
commit40315e6ebb754b5584680c5193540e4638b792a3 (patch)
tree1829b6baaadcd1a45fee933ab67fe65d939cb680 /docs/genrefman.py
parentab8081fab66eafcb35021f45ffae0648b658733e (diff)
downloadmeson-40315e6ebb754b5584680c5193540e4638b792a3.zip
meson-40315e6ebb754b5584680c5193540e4638b792a3.tar.gz
meson-40315e6ebb754b5584680c5193540e4638b792a3.tar.bz2
mtest: simplify deprecated access to current loop
These functions constantly want the current asyncio loop, and we run a function call each time to get it. And the function call is a deprecated one. Python 3.7 brings the more explicit get_running_loop for use when we know we're inside one, with the aim of getting rid of get_event_loop once support for python <3.7 disappears. Meson no longer supports python <3.7 either. Switch to the new API, and save the reference for reuse instead of constantly re-calculating it.
Diffstat (limited to 'docs/genrefman.py')
0 files changed, 0 insertions, 0 deletions