diff options
author | Thomas A Caswell <tcaswell@gmail.com> | 2020-05-28 13:04:59 -0400 |
---|---|---|
committer | Thomas A Caswell <tcaswell@gmail.com> | 2020-05-29 11:02:35 -0400 |
commit | 405c6dec7987324395f7113eab02492b3044a9ed (patch) | |
tree | 03496b4a57b218f5f84c99fb963617280491bb6a /numpy/array_api/_array_object.py | |
parent | 076c599f25255d991f59056bd16f80aa72631ffe (diff) | |
download | numpy-405c6dec7987324395f7113eab02492b3044a9ed.tar.gz |
MNT: support python 3.10
In https://github.com/python/cpython/pull/20290 CPython changed
`Py_TYPE` from a macro to an inline function. This requires a code
change to us `Py_SET_TYPE` instead when using `Py_TYPE()` as a lvalue
in c code.
In https://github.com/python/cpython/pull/20429 CPython changed
`Py_SIZE` from a macro to an inline function. This requires a code
change to us `Py_SET_SIZE` instead of using `Py_SIZE` as a lvalue in c
code.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions