MagicStack / MagicStack/uvloop
[feature request] add loop._run_once and loop._set_is_runnning api to easy the process of OS gui event loop integrate
Nobody has claimed this yet.
- Dominant language
- Cython
- Stars
- 11.9k
- Forks
- 616
- PR merge metrics
- No merged PRs in 30d
Description
-
uvloop version:
latest -
Python version:
3.11.2 -
Platform:
All, and testing on Linux -
Can you reproduce the bug with
PYTHONASYNCIODEBUGin env?:
n.a -
Does uvloop behave differently from vanilla asyncio? How?:
no -
Purpose:
Add a public API to
- setting running state
- allow run_once of event loop
- Background:
I want to pull the event from backend_fd from another process and process them on os GUI event loop which like electron, but uvloop has no public API to run_once and keep _is_running
- Refs:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the requested loop._run_once and loop._set_is_runnning entry points, along with the backend_fd integration described in the issue. Read the linked asyncio/Tkinter discussion to understand the proposed event-loop interaction. Done requires a decided public API that supports setting running state and running one iteration for OS GUI integration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100