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

Paul Moore p.f.moore at gmail.com
Fri Feb 14 11:30:33 CET 2014

On 14 February 2014 10:20, Antoine Pitrou <solipsis at pitrou.net> wrote:
> Hmm, it seems you're right, but I'm quite sure some DBMSes have a
> consistent way of ordering NULLs when using ORDER BY on a nullable
> column.

ORDER BY xxx [NULLS FIRST|LAST] is the syntax in Oracle, with (IIRC)
NULLS LAST as default. But I agree, this is not an argument in favour
of doing the same in Python.


More information about the Python-Dev mailing list