diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-11-06 16:30:36 -0500 |
|---|---|---|
| committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-11-07 10:22:06 -0600 |
| commit | abca5ca34595fda048e16760cb6355a67220f5db (patch) | |
| tree | 2f47b1fb5a84294543b8bd5f96caa98c344eebb0 /numpy/core/include | |
| parent | f52acb53a30f05c5597df84d3fecd881692bad99 (diff) | |
| download | numpy-abca5ca34595fda048e16760cb6355a67220f5db.tar.gz | |
MAINT: Remove Python <3.8 support from C
Remove version switches for support of Python versions before 3.8.
The biggest deletion is that we can use Pythons `PyVectorcall_Call`
to support the old `*args, **kwargs` style call convention in ufuncs.
Diffstat (limited to 'numpy/core/include')
| -rw-r--r-- | numpy/core/include/numpy/ufuncobject.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/numpy/core/include/numpy/ufuncobject.h b/numpy/core/include/numpy/ufuncobject.h index 3f184bd45..1d7050bbe 100644 --- a/numpy/core/include/numpy/ufuncobject.h +++ b/numpy/core/include/numpy/ufuncobject.h @@ -173,11 +173,8 @@ typedef struct _tagPyUFuncObject { * but this was never implemented. (This is also why the above * selector is called the "legacy" selector.) */ - #if PY_VERSION_HEX >= 0x03080000 vectorcallfunc vectorcall; - #else - void *reserved2; - #endif + /* Was previously the `PyUFunc_MaskedInnerLoopSelectionFunc` */ void *_always_null_previously_masked_innerloop_selector; |
