Python slang
Marco Sulla
mail.python.org at marco.sulla.e4ward.com
Sat Aug 6 15:06:35 EDT 2016
On 6 August 2016 at 03:35, Chris Angelico <rosuav at gmail.com> wrote:
> 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.
Yes, I was thinking manly to SQL. That furthermore is NOT a
programming language. So I suppose I have also to ask why "None"
instead of "Null"
More information about the Python-list
mailing list