Multi-threaded circular import fails with _DeadlockError when using importlib
Offen
Dieses Issue hat noch niemand übernommen.
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
stdlib
topic-importlib
type-bug
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 558
Beschreibung
| BPO | 38095 |
|---|---|
| Nosy | @rlamy |
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-10.19:10:54.811>
labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
title = 'Multi-threaded circular import fails with _DeadlockError when using importlib'
updated_at = <Date 2019-09-10.19:10:54.811>
user = 'https://github.com/rlamy'
bugs.python.org fields:
activity = <Date 2019-09-10.19:10:54.811>
actor = 'Ronan.Lamy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-09-10.19:10:54.811>
creator = 'Ronan.Lamy'
dependencies = []
files = []
hgrepos = []
issue_num = 38095
keywords = []
message_count = 1.0
messages = ['351738']
nosy_count = 1.0
nosy_names = ['Ronan.Lamy']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38095'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']
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 damit, den im Issue beschriebenen multithreaded Circular Import mithilfe von importlib zu reproduzieren, und untersuche anschließend das relevante Verhalten von importlib und die Interaktion der Threads. Als abgeschlossen gilt die Aufgabe, wenn der Circular Import nicht mehr fälschlicherweise mit _DeadlockError fehlschlägt; im Issue werden keine spezifischen Dateien oder Tests genannt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- backend
- Issue-Typ
- Bug
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100