diff options
author | Tyler Reddy <tyler.je.reddy@gmail.com> | 2018-11-13 14:08:19 -0800 |
---|---|---|
committer | Tyler Reddy <tyler.je.reddy@gmail.com> | 2018-11-13 14:08:19 -0800 |
commit | 470d53fc6bc8267fec7d7cf5c7116d5e7437d789 (patch) | |
tree | 6faea5a835ba9e4055a1fb83b6e3b72a4280401b /numpy/lib/arraypad.py | |
parent | 676d3d69fa37b019aa98dda036f703ee7101f00a (diff) | |
download | numpy-470d53fc6bc8267fec7d7cf5c7116d5e7437d789.tar.gz |
BUG: improve DataSource __del__
* DataSource __del__ could raise an AttributeError
if __init__ failed for any reason; __del__ now gracefully
handles the case where __init__ fails, as happens in the
internals of refguide_check when handling DataSource with
an unexpected kwarg
Diffstat (limited to 'numpy/lib/arraypad.py')
0 files changed, 0 insertions, 0 deletions