summaryrefslogtreecommitdiff
path: root/numpy/array_api/_creation_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-10-29 16:36:47 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2021-10-29 16:36:47 -0500
commit4b219979759945e231d03c60804930e3e65a4c1d (patch)
tree7fe837191096fe810f5e8c192a182f1c8c43d3bf /numpy/array_api/_creation_functions.py
parent9b0b40b22288575fb7ff37f7670170fd2d81193b (diff)
downloadnumpy-4b219979759945e231d03c60804930e3e65a4c1d.tar.gz
BUG: Fix environment checking logic for `NUMPY_WARN_IF_NO_MEM_POLICY`
The logic was reversed accidentally, since the default is to not warn. I would be happy to dig a bit deeper and move the `getenv` to import time (with an small internal helper to set it). Since the `getenv` right now will be called for quite a bit of pythran code currently.
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions