Deprecation on get_event_loop()
I have a report on a test failure due to the deprecation of a get_event_loop() call (https://github.com/davesteele/aiofiles/pull/2). This patch changes the other occurrences of that call.
Don't think that's the right change though. What about get_running_loop?
I'm not the expert here. Didn't even know the loop policy call existed.
Debian has upgraded Python to 3.11 in prep for the impending Stable Freeze. CI tests are failing due to the Deprecation warning, and packages using this code will get the warning.
Thanks for the heads-up, I can replace the calls and do a release soon (in a few days).
Should be fixed on main!
Released.