twisted / twisted/twisted

twisted should include integration with asyncio that implements asyncio's interfaces on top of a twisted reactor - i.e. TwistedReactorEventLoop

Open
#9,968 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

core enhancement new priority-normal
Dominant language
Python
Stars
6k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
10

Description

glyph's avatar @glyph reported
Trac ID trac#9968
Type enhancement
Created 2020-09-22 04:15:47Z

I talked about this here:

https://twistedmatrix.com/pipermail/twisted-python/2019-April/032280.html

in the "asyncio side down" part of my bulleted list, but I don't know that I'd ever filed a ticket.

This would allow using asyncio on top of Twisted's event loop, which has a number of advantages including being able to leverage the various GUI event loop integrations while still being able to call asyncio code.

Searchable metadata
trac-id__9968 9968
type__enhancement enhancement
reporter__glyph glyph
priority__normal normal
milestone__None None
branch__ 
branch_author__ 
status__new new
resolution__None None
component__core core
keywords__None None
time__1600748147284334 1600748147284334
changetime__1600748147284334 1600748147284334
version__None None
owner__None None

Contributor guide

Open the contributing guide

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.

Research direction

Start by reading the linked 2019 mailing-list discussion, especially the “asyncio side down” section, then inspect Twisted’s core reactor and asyncio’s event-loop interfaces. Define the compatibility scope and how GUI event-loop integrations should remain usable; the work is done when asyncio code can run on top of a Twisted reactor through the proposed TwistedReactorEventLoop.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.