Impossible. You cannot picke a network connection. It more than just data.
On Jan 31, 5:30 am, mart <[email protected]> wrote: > Hi, > > I'm looking to try something (again) that has not yet been too > successful (but I still want to try)... Currently (with stand-alone > Dal) I am managing by passing 'db' around (or rather self.db) to avoid > having to create more instances than I have to. Now, to pick up some > processes where they left off, I would like to try pickling 'self.db' > to a file, let sys.exit() happen, load the pickle, then debug > exceptions, but without having to start from scratch ad rely on > breakpoints to wake me up when I get to troublesome areas (the wait > can be as long as an hour sometimes). > > So, has anyone successfully pickled 'db'? Anything fancy that need to > be done the the attributes (even if only temporary). > > Thanks, > Mart :)

