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 _______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig