[issue12227] multiprocessing.Pool initialization seems to call methods it should not (and on badly formed objects)

2011-05-31 Thread Graham Cummins
Graham Cummins added the comment: As far as I can tell, this is a version of the scope-dependent un-pickling issue mentioned in the documentation. I'm still rather confused, since in the original occurrence of the issue happens despite the fact that subprocesses should be able to impor

[issue12227] multiprocessing.Pool initialization seems to call methods it should not (and on badly formed objects)

2011-05-31 Thread Graham Cummins
New submission from Graham Cummins : When attempting to pass instances of a custom class in the argument list of a multiprocessing.Pool.map call, I encounter an inexplicable AttributeError. A simplified test script that creates the bug is included. It fails for both Python 2.7.1 and 3.2 on my