[Zope-DB] Re: [Q] Officially abandon "SQL-null -> Missing.Value mapping"

Matthew T. Kromer matt@zope.com
Mon, 02 Dec 2002 09:59:31 -0500


Dieter Maurer wrote:

>I suggest that we officially abandon and deprecate the
>"SQL-null" to "Missing.Value" mapping in favour of the much
>more usable "SQL-null <-> Python None" mapping.
>
>I hope to get some comment especially from Zope.com about this.
>
>
>Dieter
>  
>
I think the problem is that DTML tends to do a truth test, which None 
fails, hence the reason Missing.Value kicks in.

Certainly most adapters I know of return NULL as None.


-- 
Matt Kromer
Zope Corporation  http://www.zope.com/