[IPython-user] processing.Pool in ipython
Tue Nov 4 06:45:04 CST 2008
On Tue, Nov 4, 2008 at 12:41 PM, Ville M. Vainio <email@example.com> wrote:
> On Sun, Oct 26, 2008 at 12:03 AM, Robin <firstname.lastname@example.org> 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...
More information about the IPython-user