summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2021-10-27 23:09:51 +0300
committerGitHub <noreply@github.com>2021-10-27 15:09:51 -0500
commitaebf38662647b328e5ac10c52a24202b3a22cf66 (patch)
tree50e6ad54c9bb64b42b18c67a29f719ae1c5ceb21 /numpy/array_api/_array_object.py
parentf66a76ec2d592c4f44c3f44c596b6d6f581626e5 (diff)
downloadnumpy-aebf38662647b328e5ac10c52a24202b3a22cf66.tar.gz
MAINT: Only warn for transferred ownership if env variable is set (#20200)
Builds on gh-20194. Fixes breakage of SciPy in https://github.com/scipy/scipy/issues/14917 At some point we could flip the default to "warn" instead of "no warning" * make warning conditional on NUMPY_WARN_IF_NO_MEM_POLICY * add test, fix example code * fixes from review * typo
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions