On Fri, Mar 14, 2008 at 08:09:21PM +0100, sophana wrote: > a.info={} > 1/Query : UPDATE Acct SET Info = (NULL) WHERE id = (203) > > a.info=[] > 1/Query : UPDATE Acct SET Info = (NULL) WHERE id = (203) > > >>> cPickle.dumps({}) > '(d.'
Raising eyebrows, dropping the jaw on the floor! Seems someone thinks an empty ("false") objects are Nones. Could it be someone "cleverly" modified SQLObject so PickleCol instead of if value is None: return None does now if not value: return None ??? Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss