Multiprocessing: facilitate worker processes printing to GUI shell
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
Feature or enhancement
Currently, multiprocessing functions can be run in IDLE. However, the output of these functions is not displayed in the IDLE shell. This is because the fork done by multiprocessing does not duplicate or inherit the socket connection (https://stackoverflow.com/a/35297841/14432236).
Pitch
The output of multiprocessing functions should be displayed in the IDLE shell if the shell is run. For instance, this example code will be able to run without displaying a termination message if multiprocessing is enabled: https://github.com/python/cpython/issues/92571
Previous discussion
I believe that the last couple bugs that I filed are because of this issue: https://github.com/python/cpython/issues/92622 and https://github.com/python/cpython/issues/92571
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue にはファイルもテストも記載されていません。まず関連する issue 92571 と 92622 を確認し、multiprocessing の fork が IDLE shell で使用される socket 接続にどのような影響を与えるかを調査してください。worker プロセスの出力が終了メッセージなしで IDLE shell に表示されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- desktop
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 32/100