Problem
multicore_utils.py contains two bare except: clauses that catch all exceptions including SystemExit and KeyboardInterrupt. This is a Python anti-pattern that can mask real problems and interfere with process management in forked child processes.
Expected Behavior
- Import fallback should only catch
ImportError
- Child process error handler should catch
Exception but not SystemExit/KeyboardInterrupt
Problem
multicore_utils.pycontains two bareexcept:clauses that catch all exceptions includingSystemExitandKeyboardInterrupt. This is a Python anti-pattern that can mask real problems and interfere with process management in forked child processes.Expected Behavior
ImportErrorExceptionbut notSystemExit/KeyboardInterrupt