summaryrefslogtreecommitdiff
path: root/numpy/lib/recfunctions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2023-04-04 16:46:56 +0200
committerSebastian Berg <sebastianb@nvidia.com>2023-04-04 17:17:17 +0200
commit3a811358830c324b7b6819b88dec4e4bcd91444a (patch)
tree62a3387e47d173ee888b0017bec527d5307ea467 /numpy/lib/recfunctions.py
parent6309cf291ca806f554723d659777acca46cdad1f (diff)
downloadnumpy-3a811358830c324b7b6819b88dec4e4bcd91444a.tar.gz
ENH: Allow compiling compatibly to old NumPy versions
The default compiles compatibly with 1.17.x, we allow going back to 1.15 (mainly because it is easy). There were few additions in this time, a few structs grew and very few API functions were added. Added a way to mark API functions as requiring a specific target version. If a user wishes to use the *new* API, they have to add the definition: #define NPY_TARGET_VERSION NPY_1_22_API_VERSION Before importing NumPy. (Our version numbering is a bit funny I first thought to use a hex version of the main NumPy version, but since we already have the `NPY_1_22_API_VERSION` defines...)
Diffstat (limited to 'numpy/lib/recfunctions.py')
0 files changed, 0 insertions, 0 deletions