summaryrefslogtreecommitdiff
path: root/numpy/lib/mixins.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-08-07 16:08:26 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2020-08-11 18:54:53 -0500
commit37dc69cd01934b78bbf9bcccab5fbc4a7ff5eacb (patch)
tree045f7850bab38e37bbfd2ac5fc5e05bc621c4065 /numpy/lib/mixins.py
parenteec0aa278e3e0d68d9e19ccba2410c09be20d746 (diff)
downloadnumpy-37dc69cd01934b78bbf9bcccab5fbc4a7ff5eacb.tar.gz
MAINT: Add error return to all casting functionality and NpyIter
NpyIter cannot properly indicate errors right away, defering them in some case until the actual cleanup occurs. to make that slightly with easier, this adds a new API function with (non-standard for NpyIter) error return as -1. A second function is one which only checks whether an error occurred (i.e. `NpyIter_ErrOccurred()`) which is necessary in the (more rare) case the iterator is not deallocated promptly after the iteration is finished.
Diffstat (limited to 'numpy/lib/mixins.py')
0 files changed, 0 insertions, 0 deletions