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
As one of the first steps of removing the tornado IOLoop from the code bas is to remove the usage of IOLoop.run_sync in favour of asyncio.run. The two have semantic differences and require us to touch the way we set up a few of our tests. The way tornado interacts with the event loop via IOLoop.run_sync is deprecated in CPython. This usage is connected to multiple warnings like "pending task while loop is closing", "task not awaited", etc.
Requirements
Deprecated call to IOLoop.run_sync has been replaced by asyncio.run as appropriate
As one of the first steps of removing the tornado IOLoop from the code bas is to remove the usage of
IOLoop.run_sync
in favour ofasyncio.run
. The two have semantic differences and require us to touch the way we set up a few of our tests. The way tornado interacts with the event loop viaIOLoop.run_sync
is deprecated in CPython. This usage is connected to multiple warnings like "pending task while loop is closing", "task not awaited", etc.Requirements
IOLoop.run_sync
has been replaced byasyncio.run
as appropriateImplementation notes
IOLoop.run_sync
from CLI #6162The text was updated successfully, but these errors were encountered: