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
It's somewhat inconvenient that AsyncBase._loop exists - it makes it hard to implement a global stdout object via a module-level stdout = aiofiles.threadpool.wrap(sys.stdout). What is the purpose of this attribute? If it is purely for performance reasons, would you accept a PR that changed all references to self._loop to self._loop or asyncio.get_running_loop()?
The text was updated successfully, but these errors were encountered:
It's somewhat inconvenient that
AsyncBase._loop
exists - it makes it hard to implement a global stdout object via a module-levelstdout = aiofiles.threadpool.wrap(sys.stdout)
. What is the purpose of this attribute? If it is purely for performance reasons, would you accept a PR that changed all references toself._loop
toself._loop or asyncio.get_running_loop()
?The text was updated successfully, but these errors were encountered: