[Python-Dev] python 3 niggle: None < 1 raises TypeError
Lennart Regebro
regebro at gmail.com
Fri Feb 14 16:41:14 CET 2014
More information about the Python-Dev mailing list
Fri Feb 14 16:41:14 CET 2014
- Previous message: [Python-Dev] Function to handle None in sort operation, was Re: python 3 niggle: None < 1 raises TypeError
- Next message: [Python-Dev] python 3 niggle: None < 1 raises TypeError
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
What I think is the biggest nitpick here is that you can't make a NULL
object so that
NULL is None
evaluates as True. If you could, you could then easily make this NULL
object evaluate as less than everything except itself and None, and
use that consistently. But since this NULL is not None, that breaks
any backwards compatibility if your SQL library mapped NULL to None in
earlier versions.
- Previous message: [Python-Dev] Function to handle None in sort operation, was Re: python 3 niggle: None < 1 raises TypeError
- Next message: [Python-Dev] python 3 niggle: None < 1 raises TypeError
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list