python / python/cpython

Add a timeout to multiprocessing's Pool.join

Offen
#75,963 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

3.7 (EOL) stdlib topic-multiprocessing type-feature
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

BPO 31782
Nosy @pitrou, @applio
Files
  • cpython_timeout.patch: Cpython 3.6 Pool timeout patch
  • cpython_raise_timeout.patch: Pool join timeout that raises TimeoutError
  • 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 = None
    closed_at = None
    created_at = <Date 2017-10-13.19:23:42.800>
    labels = ['3.7', 'type-feature', 'library']
    title = "Add a timeout to multiprocessing's Pool.join"
    updated_at = <Date 2017-10-20.17:05:24.169>
    user = 'https://bugs.python.org/WillStarms'
    

    bugs.python.org fields:

    activity = <Date 2017-10-20.17:05:24.169>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2017-10-13.19:23:42.800>
    creator = 'Will Starms'
    dependencies = []
    files = ['47219', '47220']
    hgrepos = []
    issue_num = 31782
    keywords = ['patch']
    message_count = 3.0
    messages = ['304350', '304352', '304515']
    nosy_count = 3.0
    nosy_names = ['pitrou', 'davin', 'Will Starms']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31782'
    versions = ['Python 3.7']
    

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
    3. Forke das Repository und arbeite in einem Branch.
    4. Öffne einen Pull Request, der die Issue-Nummer nennt.

    Rechercherichtung

    Beginne bei multiprocessing.Pool.join und vergleiche die angehängten cpython_timeout.patch und cpython_raise_timeout.patch. Bestimme, welches Timeout- und Ablaufverhalten vorgesehen ist; die Arbeit ist abgeschlossen, wenn Pool.join dieses Verhalten konsistent unterstützt und die relevanten multiprocessing-Tests es abdecken.

    Vom Indexierungsmodell aus dem Issue-Text verfasst.

    Bewertung

    Tech-Stack
    python
    Bereich
    distributed-systems
    Issue-Typ
    Feature
    Schwierigkeit
    4/5
    Geschätzter Aufwand
    3-5 Tage
    Aktivitätsstatus
    Veraltet
    Klarheit
    Größtenteils klar
    Anfängerfreundlichkeit
    30/100

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.