
Oct. 20, 2021
1:18 a.m.
One of my motivation to write this PEP was decide how to solve the issue: "[C API] Disallow using PyFloat_AS_DOUBLE() as l-value" https://bugs.python.org/issue45476 I proposed two fixes: * Convert macros to static inline functions: https://github.com/python/cpython/pull/28961 * Fix the macro, add _Py_RVALUE(): https://github.com/python/cpython/pull/28976 I would prefer to static inline functions ;-) Victor