Open GoogleCodeExporter opened 8 years ago
I can confirm that this issue occurs when using any class or instance method.
In
fact, anything that requires a closure to pickle seems to raise this error.
Original comment by jeffober
on 15 Feb 2009 at 6:59
Protocol used in multiprocessing involves pickling during data exchange and as
described in
http://docs.python.org/library/pickle.html#what-can-be-pickled-and-unpickled
instance methods cannot be
pickled. If adding a collection of objects to the queue raises such an error
supposedly their class definition
wasn't available at module top level.
Original comment by mchrus...@gmail.com
on 28 Aug 2009 at 12:24
Original issue reported on code.google.com by
pawciob...@gmail.com
on 17 Dec 2008 at 5:21