resource tracker destroys shared memory segments when other processes should still have valid access

オープン
#82,300 コメント 36 件 リアクション 14 件 担当者 1 名 GitHub で見る

@applio がすでに取り組んでいます。

2019年9月11日 から。

評価

この issue はまだ評価されていません。

説明

docs stdlib topic-multiprocessing type-bug
BPO 38119
Nosy @pitrou, @applio, @pablogsal, @maggyero, @vinay0410, @JSmith-BitFlipper, @keven425, @TKaluza
PRs
  • python/cpython#15989
  • python/cpython#21516
  • python/cpython#23174
  • Files
  • mprt_monkeypatch.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/applio'
    closed_at = None
    created_at = <Date 2019-09-11.15:58:26.817>
    labels = ['3.8', 'type-bug', 'library', '3.9', '3.10']
    title = 'resource tracker destroys shared memory segments when other processes should still have valid access'
    updated_at = <Date 2022-02-10.20:53:56.777>
    user = 'https://github.com/applio'
    

    bugs.python.org fields:

    activity = <Date 2022-02-10.20:53:56.777>
    actor = 'maggyero'
    assignee = 'davin'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-09-11.15:58:26.817>
    creator = 'davin'
    dependencies = []
    files = ['49859']
    hgrepos = []
    issue_num = 38119
    keywords = ['patch']
    message_count = 14.0
    messages = ['351960', '352050', '374434', '374939', '374944', '374951', '374954', '374956', '374958', '374974', '387606', '388287', '390198', '412440']
    nosy_count = 12.0
    nosy_names = ['pitrou', 'steve.newcomb', 'turicas', 'davin', 'pablogsal', 'maggyero', 'vinay0410', 'damian.barabonkov', 'keven425', 'davfelsen', 'jdogzz-g5', 'timka']
    pr_nums = ['15989', '21516', '23174']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38119'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    TODO list:

    • Add a track=True parameter to SharedMemory (#110778 did this) so it can be disabled by the user.
    • It still needs covering in the What's New in 3.13 documentation.
    • Verify and make other documentation improvements as necessary as alluded by @ambv below in https://github.com/python/cpython/issues/82300#issuecomment-1336166761 - It sounded like we've got docs implying that resources outlive the process by default which was not what the implementation ever did.
    Linked PRs
    • gh-110778
    主要言語
    Python
    スター
    77.2k
    フォーク
    36k
    平均マージ
    1日 9時間
    マージ済み PR(30日)
    558

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

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

    はじめの一歩

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

    python/cpython のほかの issue

    python/cpython の issue をすべて見る

    似ている issue

    Python の issue をもっと見る

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

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