Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch signal handler change error (#1147)
The interruptible signal handle was incompatible with dask, it would trigger the following error: ``` Exception: "ValueError('signal only works in main thread of the main interpreter')" ``` This PR fixes the problem by catching the error and keeping the original signal handler in that case. Authors: - Tamas Bela Feher (https://github.com/tfeher) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: #1147
- Loading branch information