8 Sep
2021
8 Sep
'21
8:21 a.m.
On Wed, Sep 8, 2021 at 3:49 PM Petr Viktorin <encukou@gmail.com> wrote:
I converted Py_TYPE() and Py_SIZE() macros to static inline functions in the future Python 3.11. It's a backward incompatible change. For example, "Py_TYPE(obj) = type;" must be replaced with "Py_SET_TYPE(obj, type);".
Why is this needed?
Read the issue for the rationale: https://bugs.python.org/issue39573#msg361513
See also: https://www.python.org/dev/peps/pep-0620/
Victor
Night gathers, and now my watch begins. It shall not end until my death.