You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While exploring multiprocessing.Queue, I encountered an exception which was confusing and I couldn't reconcile from Googling. Briefly, it seems that the Queue object allows providing a maxsize which exceeds from .synchronize import SEM_VALUE_MAX. If that occurs, the exception below is raised.
I suspect but haven't confirmed that this issue exists in main as the maxsize does not carry an upper bound.
If this is acknowledged as a bug, or at least a source of improvement for the user experience, I would be happy to provide a pull request that (1) sets an upper bound as SEM_VALUE_MAX and (2) provides a Warning that the upper bound was exceeded.
Bug report
Bug description:
While exploring
multiprocessing.Queue
, I encountered an exception which was confusing and I couldn't reconcile from Googling. Briefly, it seems that theQueue
object allows providing amaxsize
which exceedsfrom .synchronize import SEM_VALUE_MAX
. If that occurs, the exception below is raised.I suspect but haven't confirmed that this issue exists in
main
as themaxsize
does not carry an upper bound.If this is acknowledged as a bug, or at least a source of improvement for the user experience, I would be happy to provide a pull request that (1) sets an upper bound as
SEM_VALUE_MAX
and (2) provides aWarning
that the upper bound was exceeded.CPython versions tested on:
3.11, 3.12
Operating systems tested on:
macOS
Linked PRs
The text was updated successfully, but these errors were encountered: