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
Hello! I noticed an odd behaviour with async code with ipython==8.18.1 (and I suspect that the same would happen with ipython>8.17.2)
Indeed I get an RuntimeError: There is no current event loop in thread 'MainThread'. when running aiohttp.TCPConnector()
To reproduce
Start ipython console with ipython==8.18.1 for eg
import aiohttp
connector = aiohttp.TCPConnector()
Raises RuntimeError: There is no current event loop in thread 'MainThread'.
This code actually works in a python console. What is happening here? Is there a work around?
The text was updated successfully, but these errors were encountered:
Hello! I noticed an odd behaviour with async code with ipython==8.18.1 (and I suspect that the same would happen with ipython>8.17.2)
Indeed I get an
RuntimeError: There is no current event loop in thread 'MainThread'.
when runningaiohttp.TCPConnector()
To reproduce
Start ipython console with ipython==8.18.1 for eg
Raises
RuntimeError: There is no current event loop in thread 'MainThread'.
This code actually works in a
python
console. What is happening here? Is there a work around?The text was updated successfully, but these errors were encountered: