On Tue, Oct 26, 2021, 7:20 PM Chris Angelico
The truth is that there is no value that can be a truly universal representation of absence, so it *always* has to be specific to each API.
That's a fact about Python rather than a fact of programming in general. For example, R has a NULL that is "even more missing" than it's NA or NaN.
For example:
# operation on NULL Vector
v1 <- c(NULL, NULL, NULL)
str(v1)
# NULL
In contrast, a vector of NA would still have 3 elements (or however many). NA is basically Python None, NULL is like a true missing that cannot be anything else.
I'm not saying Python should add this, but it is possible to do.