[Python-Dev] python 3 niggle: None < 1 raises TypeError

Lennart Regebro regebro at gmail.com
Wed Feb 19 11:53:46 CET 2014


On Tue, Feb 18, 2014 at 5:10 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> Sorry if this has already been suggested, but why not introduce a new
> singleton to make the database people happier if not happy?  To avoid
> confusion call it dbnull?  A reasonable compromise or complete cobblers? :)

I think this is possible already, for the database people. The problem
is that it will not pass the is None test, which at the very least is
not backwards compatible with how they have used it before.


More information about the Python-Dev mailing list