Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded Python interpreter in a C++ application making use of libuv #593

Open
SylvainCorlay opened this issue Jan 31, 2024 · 0 comments
Open

Comments

@SylvainCorlay
Copy link

I am interested in uvloop for the following use case:

  • I have a C++ application running libuv, embedding a Python interpreter running in the main thread
  • I would like to use asyncio in the Python interpreter so that it uses the libuv event loop at hand, and does not block the main application.

Does uvloop's provide means to attach the Python wrapper to an existing libuv event loop? If it is a simple addition, would you consider such a feature - or accept a contribution enabling this use case ? (pointers welcome on where to get started).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant