diff options
author | slepton <slepton@posteo.de> | 2021-07-07 19:49:38 +0200 |
---|---|---|
committer | slepton <slepton@posteo.de> | 2021-07-07 19:49:38 +0200 |
commit | 87db3d1ae9a16edabd8f4818307616d8182d2a12 (patch) | |
tree | da4bad30ee04c07e92a26278e5c26b11b3891339 /numpy/lib/utils.py | |
parent | 984593982f0baf4be771cf578635994c88559078 (diff) | |
parent | 85d79efbb16e4512227545382a3de869267d1fc9 (diff) | |
download | numpy-87db3d1ae9a16edabd8f4818307616d8182d2a12.tar.gz |
Merge remote-tracking branch 'origin/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): |