Capturing BaseException in Traitlests and when loading pyconfig files
未关闭
- 主要语言
- Python
- 星标
- 653
- 派生
- 217
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 2
描述
Using a naked `except:` captures `BaseExeption`, which includes `KeyboardException`:
Happens in many places in `traitlets.traitlets.py` and one more in `loader.py`:
https://github.com/ipython/traitlets/blob/d07d70d81e82f655ac36841415721d5246876538/traitlets/config/loader.py#L986-L989
贡献指南
评估
这个 Issue 还没有评估数据。