MagicStack/uvloop

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

SylvainCorlay opened this issue · 0 comments

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).