[sqlalchemy] Re: problems with pickle and RowProxy

2009-10-12 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Bayer ha scritto: > > On Oct 11, 2009, at 12:59 PM, Manlio Perillo wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Michael Bayer ha scritto: >>> [...] >>> BufferedColumnRow is also not picklable. The reference to the pare

[sqlalchemy] Re: problems with pickle and RowProxy

2009-10-11 Thread Michael Bayer
On Oct 11, 2009, at 12:59 PM, Manlio Perillo wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Bayer ha scritto: >> [...] >> BufferedColumnRow is also not picklable. The reference to the parent >> ResultProxy is still required which itself is not picklable. >> [...] >> >> I

[sqlalchemy] Re: problems with pickle and RowProxy

2009-10-11 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Bayer ha scritto: > [...] > BufferedColumnRow is also not picklable. The reference to the parent > ResultProxy is still required which itself is not picklable. > [...] > > In any case this feature request would only be for 0.6. Ok, tha

[sqlalchemy] Re: problems with pickle and RowProxy

2009-10-11 Thread Michael Bayer
On Oct 11, 2009, at 11:13 AM, Manlio Perillo wrote: > > My use case is quite simple; I always call .fetchall from a > ResulProxy, > so all data is in memory. > > I don't see any reasons why a RowProxy should not be pickleable in > this > case. > I have tried with SQLAlchemy 0.4.2p3 (the vers

[sqlalchemy] Re: problems with pickle and RowProxy

2009-10-11 Thread Manlio Perillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Bayer ha scritto: > > On Oct 11, 2009, at 8:06 AM, Manlio Perillo wrote: > > Hi. > > I have noted a problem when a I try to pickle an instance of > sqlalchemy.engine.base.RowProxy: > > <...> > File "/usr/lib/python2.5/pickle.py", line 306,

[sqlalchemy] Re: problems with pickle and RowProxy

2009-10-11 Thread Michael Bayer
On Oct 11, 2009, at 8:06 AM, Manlio Perillo wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi. > > I have noted a problem when a I try to pickle an instance of > sqlalchemy.engine.base.RowProxy: > > <...> > File "/usr/lib/python2.5/pickle.py", line 306, in save > rv = reduce(