Event loop integration
See original GitHub issueWhen I’m using a Julia library that starts a loop with @async
, the python REPL will never yield to it. It seems like we need to insert a Main.eval("yield()")
into the python repl loop. Could be an easy PR, but I’m not really sure where that would go!
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Integrating with GUI event loops — IPython 8.7.0 documentation
To make IPython GUI event loop integration occur automatically at every startup, set the c.InteractiveShellApp.gui configuration key in your IPython profile ( ...
Read more >3.5. Event loop integration - Daniel P. Berrange
Event loop integration. The purpose of the libvirt event loop APIs is so that libvirt can be easily integrated into event driven applications,...
Read more >Event Loop :: SmallRye documentation
SmallRye Fault Tolerance provides an API to integrate with event loops used in non-blocking runtimes. This integration API comes from the core module...
Read more >UnknownBackend: No event loop integration for u'inline' when ...
If you are running matplotlib on osx this helped resolve my problem: I upgraded to matplotlib-2.2.0 by now there is a new version...
Read more >Rethinking event loop integration for libraries - Stefan Hajnoczi
Rethinking event loop integration for libraries. APIs for operations that take a long time are often asynchronous so that applications can ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Btw, after quite a bit of fiddling, this was the only solution that worked for me:
No idea why the internet is full of 1 mio solutions, that all don’t seem to work^^
It’s not possible. Event loop in Python is optional. Since various different libraries implement their own event loop, you have to use a specific entry point to launch a background task for each library.