matrix-org / matrix-org/matrix-python-sdk

Support async use-cases

オープン
#127 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Api layer Client layer enhancement
主要言語
Python
スター
266
フォーク
118
PR マージ指標
30日以内にマージされた PR はありません

説明

Since we're supporting both python2 and python3, our async options are very limited. I think we have to either use gevent, use threading, or maybe we can use something from the twisted stack?

Personally, I'd really like to just drop support for python2 (it is the way the ecosystem is moving anyway), and use either the 3.4 syntax of `@asyncio.coroutine` and `yield from` or 3.5+ of `async def` and `await`. It would give us much more semantic code. Maybe the right answer *is* just a community-maintained async fork for python 3.4+.

Issue created to separate out discussion from #126.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、この議論を issue #126 と併せて読み、分離されたコンテキストと、提案されている gevent、threading、Twisted、Python 3 asyncio の選択肢を理解してください。issue では、ファイル、テスト、または確定した実装対象が特定されていません。作業を開始する前に、具体的な決定と範囲を定めた受け入れ基準が必要です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
api, backend-api-design
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。