"0 in [True,False]" returns True
Grant Edwards
grante at visi.com
Wed Dec 14 09:57:13 EST 2005
On 2005-12-14, bonono at gmail.com <bonono at gmail.com> wrote:
>> Well, as you might argue, I'm not tryng to effect a change in your
>> behaviour, I'm simply trying to point out how it could be made more
>> rational.
>
> What would be the difference in his usage and allowing Null in a RDBMS
> column?
Don't know -- homey don't play 'dat.
> Or return NaN instead of raising exception for numeric
> functions ?
Because usually (in my applications anyway) NaN is a perfectly
valid value and not an "exception" case that needs to be handled.
--
Grant Edwards grante Yow! Am I in GRADUATE
at SCHOOL yet?
visi.com
More information about the Python-list
mailing list