None versus MISSING sentinel -- request for design feedback
Mel
mwilson at the-wire.com
Fri Jul 15 09:16:10 EDT 2011
Steven D'Aprano wrote:
> Well yes, but None is an explicit missing value too. The question I have
> is if I should support None as that value, or something else. Or if anyone
> can put a good case for it, both, or neither and so something completely
> different.
If it's any help, I think (some of?) the database interface packages already
do just that, returning None when they find NULL fields.
Mel.
More information about the Python-list
mailing list