10 Apr
2000
10 Apr
'00
7:56 a.m.
On Sun, 09 Apr 2000 22:56:05 -0700, Sam Gendler <sgendler@silcom.com> wrote:
Is there an opposite function to __setstate__, which would allow me to close the connection before it gets blown away.
On Mon, 10 Apr 2000 00:48:36 -0700, Sam Gendler <sgendler@silcom.com> wrote:
Actually, I was thinking about a function that gets called just before the object gets pickled for insertion into the ZODB, which would allow me to set a 'connected' variable to some meaningfule value.
From what youve said, I'm confused about _why_ you want this. But, the method you are looking for is __getstate__
Toby Dickenson tdickenson@geminidataloggers.com