Re:Python's “Disappointing” Superpowers
by ReflectedImage on Thursday February 02, 2023 @01:40PM
(#34631155)
You can't get a NaN from a None value in Python.
(Duck typing still has rules)
The error you have posted isn't a Python error.
Looking a bit deeper, the error occurs in C++ code. C++ is a statically typed language, last time I checked.
This is along the lines of