[DB-SIG] pickling error with db_row object

Vinj Vinj vinjvinj at yahoo.com
Thu Aug 18 13:05:35 CEST 2005


I have been using db_row extensively in my application
and have been very pleased with it. 

Some times I end up putting objects which contain
db_row objects in the sesssion object. When the
session object gets pickled it gives me an error that

PicklingError: Can't pickle <class 'db_row.irow'>:
attribute lookup db_row.irow failed,

Moving all my db_row data to actual python objects
would be a lot of effort and hit performance as well.
Is there a better way and why will it not pickle
db_row objects

Thanks,


More information about the DB-SIG mailing list