diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-08-20 10:29:32 +0100 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2020-08-20 10:29:32 +0100 |
commit | 59723b6a76ed6b16b7fd72933b278aa25d09c08b (patch) | |
tree | 9725227770865b470af9052eeed6bf82086dd4ba /numpy/doc/structured_arrays.py | |
parent | 64619c55896dad1927afe78c0702a58abf0d038f (diff) | |
download | numpy-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