You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A collection of changes to make CI pass, including on 3.8.
Fix use of deprecated Trio features:
* Don't refer to trio.hazmat.Task._cancel_stack in interop tests
* Don't use deprecated trio.Event.clear
* Launch threads with trio.to_thread.run_sync
Collect Python stdlib asyncio tests from the installed stdlib, rather than trying to vendor them. This lets us run the tests on far more platforms.
Ignore some asyncio deprecation warnings on 3.8 for now.
Clean up the monkeypatching of asyncio event loop and event loop policy accessors. The primary functional changes are:
* Make TrioPolicy a singleton
* Patch new_event_loop and set_event_loop to go through TrioPolicy like get_event_loop does
* Improve SyncTrioEventLoop to not leak threads so much.
0 commit comments