[DB-SIG] adodbapi 2.4 : not possible to pickle
Dieter Maurer
dieter at handshake.de
Thu Oct 21 08:01:26 CEST 2010
Vernon Cole wrote at 2010-10-19 10:11 -0600:
> ...
> If this is something which is done frequently, then a perhaps a suitable
>method should be added to the class definition of _SQLrow() so that pickle
>would work on it directly. Is __getstate__() what one uses for this?
"__getstate__", "__setstate__" and "__new__" (and potentially "__newargs__")
are used for pickling (and unpickling).
--
Dieter
More information about the DB-SIG
mailing list