Message209004
| 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". |
|