Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Attach uvloop to a running libuv event loop

Open
#593 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
networking

Research direction

Start by reviewing uvloop's existing asyncio event-loop entry points and how the Python interpreter currently reaches libuv; the issue names no files or tests. Determine whether attaching to an externally running libuv loop is supported or what API design would be required, then document a concrete contribution path and completion criteria.

Written by the indexing model from the issue text.

Description

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

Dominant language
Cython
Stars
11.9k
Forks
615
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MagicStack/uvloop

All issues in MagicStack/uvloop

Similar issues

More Networking issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.