I have billiard installed on arch for python2 and 3:
community/python-billiard 3.3.0.18-2 [installed]
Python multiprocessing fork with improvements and bugfixes.
community/python2-billiard 3.3.0.18-2 [installed]
Python multiprocessing fork with improvements and bugfixes.
I am trying to run the following trivial example:
$ cat dh.py
def square(x):
return x * x
$ cat run.py
from __future__ import print_function
import billiard
p = billiard.Pool(2)
from dh import square
print('hi')
print(p.map(square, [2,3]))
print('crashing so hard you wont see me')
celery doesn't use the map method so we don't have focus on that (and multiprocessing doesn't have any unit tests sadly). I think this is fixed in the 3.3 branch
I have billiard installed on arch for python2 and 3:
I am trying to run the following trivial example:
python 2
python 3
tracing the process reveals a child calls exit_group(1). Is this supposed to work?