◐ Shell
clean mode source ↗

Message 110207 - Python tracker

While looking at your patch in issue 9244, I realized that my code fails to handle an unpickleable task, as in:
"""
#!/usr/bin/env python
import multiprocessing
foo = lambda x: x
p = multiprocessing.Pool(1)
p.apply(foo, [1])
"""
This should be fixed by the attached pickling_error.patch (independent of my other patches).