I am using python’s multiprocessing package for running parralel jobs from within python.

It is filled with quirks. I had a interesting (?) time yesterday messing with a cryptic error involving TypeError: cannot serialize '_io.TextIOWrapper, It was a similar issue to the onefound here. After 7 hours, I eventually found out that objects cannot be sent to multiprocessing. So, you cannot send a logger, or other unserializable object without subjecting yourself to a long (and in my case, fruitless) trip down the path of pickling objects.

import multiprocessing
pool = multiprocessing.Pool()

Thats all.