This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Yury.Selivanov, brett.cannon, georg.brandl, jkloth, larry, pitrou, serhiy.storchaka, taleinat, vajrasky, zach.ware
Date 2014-01-23.21:58:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390514289.2293.19.camel@fsol>
In-reply-to <1390512538.36.0.583005066241.issue20341@psf.upfronthosting.co.za>
Content
> 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".
History
Date User Action Args
2014-01-23 21:58:12pitrousetrecipients: + pitrou, brett.cannon, georg.brandl, taleinat, larry, jkloth, Yury.Selivanov, zach.ware, serhiy.storchaka, vajrasky
2014-01-23 21:58:12pitroulinkissue20341 messages
2014-01-23 21:58:12pitroucreate