[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: Use cases for del
From:       Daniel Dittmar <daniel.dittmar () sap ! corp>
Date:       2005-07-08 15:50:03
Message-ID: dam7ar$p4p$1 () news ! sap-ag ! de
[Download RAW message or body]

Scott David Daniels wrote:
> Testing for None should be an is-test (not just for speed). In
> older pythons the == result wasn't necessarily same as is-test.
> This made sense to me after figuring out NULL in database stuff.

NULL in SQL databases has nothing to do with Python None. I'm quite sure 
that None == None always returned boolean true.

In a SQL database, NULL = NULL will always return NULL, which is prety 
much the same as FALSE. Except for NOT, AS NOT NULL is NULL.

Daniel
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic