summaryrefslogtreecommitdiff
path: root/numpy/doc/structured_arrays.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-08-20 10:29:32 +0100
committerEric Wieser <wieser.eric@gmail.com>2020-08-20 10:29:32 +0100
commit59723b6a76ed6b16b7fd72933b278aa25d09c08b (patch)
tree9725227770865b470af9052eeed6bf82086dd4ba /numpy/doc/structured_arrays.py
parent64619c55896dad1927afe78c0702a58abf0d038f (diff)
downloadnumpy-59723b6a76ed6b16b7fd72933b278aa25d09c08b.tar.gz
BUG: Handle errors from the PyCapsure API
This removes all uses of the `NpyCapsule` compatibility API. A lot of these call-sites would segfault if a bad capsule was introduced. These now raise `ValueError("... called with invalid PyCapsule object")`.
Diffstat (limited to 'numpy/doc/structured_arrays.py')
0 files changed, 0 insertions, 0 deletions