Antoine Pitrou <[email protected]> added the comment:

What happens if you instead write:

with Pool() as pool:
    pool.map(sleep, [0.01] * 10)

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to