quick and precise as always :) thanks a lot oleg!
Am 15.04.2010 um 16:20 schrieb Oleg Broytman: > On Thu, Apr 15, 2010 at 03:56:08PM +0200, Frank Wagner wrote: >> (Gebucht.q.OPTIONSDATUM is None) > > (Gebucht.q.OPTIONSDATUM == None) > > Python allow to override == operator (__eq__ magic method) but not 'is'. > Hence SQLObject can do symbolic manipulation with '== None' but cannot > catch 'is None' - Python already passed False and SQLObject happily > converts it to 0. > > Oleg. > -- > Oleg Broytman http://phd.pp.ru/ p...@phd.pp.ru > Programmers don't die, they just GOSUB without RETURN. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > sqlobject-discuss mailing list > sqlobject-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss