This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: having a PriorityQueue in multiprocessing.queue module like in queue module would be a plus
Type: enhancement Stage:
Components: Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Yair Bonastre
Priority: normal Keywords:

Created on 2019-09-23 14:43 by Yair Bonastre, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg353022 - (view) Author: Yair Bonastre (Yair Bonastre) Date: 2019-09-23 14:43
In Python 3.7 queue module has Queue, LifoQueue, PriorityQueue, SimpleQueue types and in multiprocessing.queue has Queue, SimpleQueue, JoinableQueue.

Why not adding PriorityQueue to multiprocessing.queue?

Now the only way to do it is by making usage of SyncManager check the solution: https://stackoverflow.com/questions/25324560/strange-queue-priorityqueue-behaviour-with-multiprocessing-in-python-2-7-6?answertab=active#tab-top
History
Date User Action Args
2022-04-11 14:59:20adminsetgithub: 82440
2020-01-10 12:45:19Yair Bonastresetversions: + Python 3.9, - Python 3.7
2019-09-23 20:47:32Yair Bonastresettitle: There should be a PriorityQueue in multiprocessing module -> having a PriorityQueue in multiprocessing.queue module like in queue module would be a plus
2019-09-23 14:43:00Yair Bonastrecreate