[IPython-user] processing.Pool in ipython

Ville M. Vainio vivainio@gmail....
Tue Nov 4 06:46:49 CST 2008

On Tue, Nov 4, 2008 at 2:45 PM, Robin <robince@gmail.com> wrote:

>> Since they don't exist in any file, there is no place to find the
>> code. Pickle does not transfer code objects.
> Yes, but normally (in a non-Ipython session) the pickle succeeds and points to
> __main__.f which is available in the child processes created by
> processing.Pool - so one is able to pass the pickled function
> successfully. So it would be nice if Ipython supported pickling
> interactive objects (ie in __main__) properly so that the processing
> module can be used interactively...

Ok, the reason is probably the FakeModule stuff we use then...

Ville M. Vainio

More information about the IPython-user mailing list