osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Serializing complex objects


-----Original Message-----
From: Python-list <python-list-
bounces+jcasale=activenetwerx.com at python.org> On Behalf Of Rhodri
James
Sent: Friday, September 21, 2018 11:39 AM
To: python-list at python.org
Subject: Re: Serializing complex objects

> Depending on what exactly your situation is, you may be able to use the
> pickle module (in the standard library) to dump your graph and reload it
> in a context you can get a debugger into.  Would that be sufficient?

Pickle cant serialize it (ctype pointers) and dill serializes it, but re-animating
it fails without much useful guidance as to why, "EOFError: Ran out of input".