`multiprocessing.Queue`: Exceeding a certain amount of bytes in the queue prevents proper exit
Offen
@gpshead arbeitet bereits daran.
Seit 24.12.2024.
3.12
3.13
3.14
extension-modules
topic-multiprocessing
type-bug
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
Bug report
Bug description:
This terminates properly:
from multiprocessing import Queue
Queue().put(b"0" * 65514)
print("end")
while this prints 'end' and is then stuck:
from multiprocessing import Queue
Queue().put(b"0" * 65515)
print("end")
CPython versions tested on:
Latest identified version without the issue: 3.9.6
Oldest identified version with the issue: 3.9.18
Operating systems tested on:
Linux, macOS
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.
Bewertung
Dieses Issue wurde noch nicht bewertet.