> How many existing occurrences of "or_none" did you find in the CPython
> tree?
If I split that into the individual words "or" and "None", quite a lot.
Looking for "or None" turns quite a bunch of matches too.
"or_none" simply applies the PEP 8 convention for variable names made of
multiple words.
Of course, you can propose another name that involves "none", too.
> Perhaps we can turn our attention to other languages like SQL and C#
> and borrow their term for "value that is allowed to be of a specific
> type (or types) as well as the null value".
It is quite well-known and obvious that Python was inspired by C# and
SQL, so why not indeed?
Perhaps you should start by asking Guido if he wants to rename None to
"NULL". |