Python slang
Chris Angelico
rosuav at gmail.com
Fri Aug 5 21:35:54 EDT 2016
On Sat, Aug 6, 2016 at 11:14 AM, Steven D'Aprano
<steve+python at pearwood.info> wrote:
>> I don't ask about `None` instead of `null` because I suppose here it's
>> a matter of disambiguation (null, in many languages, is not equal to
>> null).
>
> Really? Which languages? That's not true in Pascal, C, Ruby or Javascript.
>
SQL (shown here with PostgreSQL's CLI):
rosuav=> \pset null NULL
Null display is "NULL".
rosuav=> select NULL = NULL;
?column?
----------
NULL
(1 row)
But SQL's NULL is a cross between C's NULL, IEEE's NaN, Cthulhu, and Emrakul.
ChrisA
More information about the Python-list
mailing list