diff options
author | slepton <slepton@posteo.de> | 2021-07-07 08:40:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 08:40:10 +0200 |
commit | 85d79efbb16e4512227545382a3de869267d1fc9 (patch) | |
tree | afb1ec2f83c11c3ec9537417ece87a8cb2b1f5d0 /numpy/lib/utils.py | |
parent | 4cc9ef18a6eff5cd46bae4af615de64cdcb3fd37 (diff) | |
parent | 3d83143c2c2f877ee921c4c7c6746d836c459839 (diff) | |
download | numpy-85d79efbb16e4512227545382a3de869267d1fc9.tar.gz |
Merge branch 'numpy:main' into main
Diffstat (limited to 'numpy/lib/utils.py')
-rw-r--r-- | numpy/lib/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py index 12a7cacdc..b1a916d4a 100644 --- a/numpy/lib/utils.py +++ b/numpy/lib/utils.py @@ -904,7 +904,7 @@ def _lookfor_generate_cache(module, import_modules, regenerate): sys.stdout = old_stdout sys.stderr = old_stderr # Catch SystemExit, too - except BaseException: + except (Exception, SystemExit): continue for n, v in _getmembers(item): |