summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests/test_compile_function.py
diff options
context:
space:
mode:
authorJulian Taylor <juliantaylor108@gmail.com>2018-09-17 19:09:27 +0200
committerJulian Taylor <juliantaylor108@gmail.com>2018-09-18 18:35:35 +0200
commitc19476614c817293c0ee549e8de978aac95553a6 (patch)
tree115fafe295c71d14e0794a233f55d4e12453092d /numpy/f2py/tests/test_compile_function.py
parentb581aade6891662e37931b04bba29262cd6057de (diff)
downloadnumpy-c19476614c817293c0ee549e8de978aac95553a6.tar.gz
BUG: fix cached allocations without the GIL
There currently only is a global cache for small allocations so the functions must be called while the GIL is held. Ensure this by checking the GIL state in debug mode (which is tested via a ci configuration). Closes gh-11942
Diffstat (limited to 'numpy/f2py/tests/test_compile_function.py')
0 files changed, 0 insertions, 0 deletions