Comment 3 for bug 363115

Revision history for this message
Ville M. Vainio (villemvainio) wrote : Re: [Bug 363115] Re: cPickle works in standard interpreter, but not in IPython

On Sat, Jul 18, 2009 at 10:36 PM, Matt
Hickford<email address hidden> wrote:
> I have problem that neither pickle nor cPickle work in ipython (but work
> in python proper).
>
> In my case pickle.dump works but pickle.

I think you'll note that pickle works when the class of the pickleable
object is not declared interactively, but rather imported from module.

--
Ville M. Vainio
http://tinyurl.com/vainio