multiprocessing Pool should allow custom task queue

Aperta
#50,656 13 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
32/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reading the multiprocessing Pool implementation around _setup_queues and the historical multiproc.patch, which sets up _taskqueue there. Trace how Pool currently creates and uses its task queue before deciding what customization the public API should support. Done means Pool users can provide a custom task queue, with behavior covered by appropriate multiprocessing tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

stdlib topic-multiprocessing type-feature
BPO 6407
Nosy @pitrou, @akheron, @iritkatriel
Files
  • multiproc.patch: patch: set up _taskqueue in _setup_queues
  • 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 2009-07-03.13:23:17.286>
    labels = ['type-feature', 'library']
    title = 'multiprocessing Pool should allow custom task queue'
    updated_at = <Date 2021-06-29.19:09:17.430>
    user = 'https://bugs.python.org/masher'
    

    bugs.python.org fields:

    activity = <Date 2021-06-29.19:09:17.430>
    actor = 'iritkatriel'
    assignee = 'jnoller'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2009-07-03.13:23:17.286>
    creator = 'masher'
    dependencies = []
    files = ['14442']
    hgrepos = []
    issue_num = 6407
    keywords = ['patch']
    message_count = 12.0
    messages = ['90052', '90056', '90067', '90070', '115259', '115260', '119499', '119511', '148170', '148244', '148246', '396753']
    nosy_count = 7.0
    nosy_names = ['pitrou', 'jnoller', 'asksol', 'masher', 'petri.lehtinen', 'swindmill', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue6407'
    versions = ['Python 3.3']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.