[issue36578] multiprocessing pool + subprocess ValueError: empty range for randrange
SilentGhost
report at bugs.python.org
Tue Apr 9 12:11:03 EDT 2019
SilentGhost <ghost.adh at runbox.com> added the comment:
The error you're seeing stems from this bit of code:
random.randint(1, 0)
With zero resulting from `taskid % 5` operation for values of taskid divisible by 5. Obviously, when you comment out this line you're not seeing the error.
----------
nosy: +SilentGhost
resolution: -> not a bug
stage: -> resolved
status: open -> closed
type: -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36578>
_______________________________________
More information about the Python-bugs-list
mailing list