summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2020-01-06 18:57:47 +0000
committerEric Wieser <wieser.eric@gmail.com>2020-01-14 15:06:52 +0000
commite2921434a07c22714bbf242be5389c3056449863 (patch)
treed0272d304ff0cde77a1953d4ec46d82a8b0af453 /numpy/array_api/_array_object.py
parentfbd807f5c5587407847f1aa54e6dada79bb90c35 (diff)
downloadnumpy-e2921434a07c22714bbf242be5389c3056449863.tar.gz
BUG: Use PyDict_GetItemWithError() instead of PyDict_GetItem()
This means we no longer interpret `MemoryError` or `KeyboardInterrupt` as `keyword arg not provided`, for instance. This function is python 3 only, hence this was difficult to do in older versions of numpy. Inspired by https://bugs.python.org/issue35459
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions