Ran into an interesting issue with the Python multiprocessing library under Windows, where the code that I had written would hang. It was the equivalent of this:
from multiprocessing import Pool
...
with Pool() as pool:
results = pool.starmap(foo, arglist)
This was in part because of how Windows was forking …
read more