Capturing BaseException in Traitlests and when loading pyconfig files
Aperta
- Lingua principale
- Python
- Stelle
- 653
- Fork
- 217
- Merge medio
- 2g 21h
- PR unite (30g)
- 2
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.