ipython / ipython/traitlets

Capturing BaseException in Traitlests and when loading pyconfig files

未关闭
#494 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。