summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/umath/ufunc_object.c2
-rw-r--r--numpy/lib/function_base.py2
-rwxr-xr-xsetup.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c
index ea0007a9d..5ef134ac1 100644
--- a/numpy/core/src/umath/ufunc_object.c
+++ b/numpy/core/src/umath/ufunc_object.c
@@ -5279,6 +5279,8 @@ ufunc_dealloc(PyUFuncObject *ufunc)
{
PyArray_free(ufunc->core_num_dims);
PyArray_free(ufunc->core_dim_ixs);
+ PyArray_free(ufunc->core_dim_sizes);
+ PyArray_free(ufunc->core_dim_flags);
PyArray_free(ufunc->core_offsets);
PyArray_free(ufunc->core_signature);
PyArray_free(ufunc->ptr);
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 1ead375de..274f957db 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -4241,7 +4241,7 @@ def delete(arr, obj, axis=None):
arr : array_like
Input array.
obj : slice, int or array of ints
- Indicate which sub-arrays to remove.
+ Indicate indices of sub-arrays to remove along the specified axis.
axis : int, optional
The axis along which to delete the subarray defined by `obj`.
If `axis` is None, `obj` is applied to the flattened array.
diff --git a/setup.py b/setup.py
index b9bbc08fb..da25ddde5 100755
--- a/setup.py
+++ b/setup.py
@@ -33,8 +33,6 @@ if sys.version_info[:2] < (3, 5):
import builtins
-python_requires = '>=3.5'
-
CLASSIFIERS = """\
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
@@ -371,7 +369,7 @@ def setup_package():
platforms = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
test_suite='nose.collector',
cmdclass={"sdist": sdist_checked},
- python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
+ python_requires='>=3.5',
zip_safe=False,
entry_points={
'console_scripts': f2py_cmds