Setting a signal handler gets multiprocessing.Pool stuck
Offen
Dieses Issue hat noch niemand übernommen.
3.8 (EOL)
stdlib
topic-multiprocessing
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 558
Beschreibung
| BPO | 38227 |
|---|---|
| Nosy | @pitrou, @wumpus |
| Files |
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 2019-09-19.21:41:35.764>
labels = ['3.8', 'library']
title = 'Setting a signal handler gets multiprocessing.Pool stuck'
updated_at = <Date 2020-07-19.17:38:12.599>
user = 'https://bugs.python.org/ionelmc'
bugs.python.org fields:
activity = <Date 2020-07-19.17:38:12.599>
actor = 'wumpus'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-09-19.21:41:35.764>
creator = 'ionelmc'
dependencies = []
files = ['48615', '49130', '49131']
hgrepos = []
issue_num = 38227
keywords = ['patch']
message_count = 6.0
messages = ['352815', '353938', '353947', '368233', '368234', '368237']
nosy_count = 4.0
nosy_names = ['pitrou', 'ionelmc', 'wumpus', 'mapozyan']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue38227'
versions = ['Python 3.8']
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit den Reproduktionsdateien mp-bug-python2.8.py und mp-signal-bug-python3.8.py und sieh dir anschließend pool.py.patch an, um die vorgeschlagene Richtung zu verstehen. Reproduziere das festhängende Verhalten von multiprocessing.Pool und überprüfe, dass der Pool nicht mehr hängen bleibt, wenn ein Signal-Handler gesetzt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- backend, operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100