<div id="comment:0"></div> There are a lot places in the Sage library which use ``` except: ``` This is bad because it catches non-errors like `KeyboardInterrupt`. --- Then the patch [attachment: 11310_auto.patch](https://github.com/sagemath/sage-prod/files/10652810/11310_auto.patch.gz) has ben auto-generated to replace all instances of ``` except: ``` by ``` except StandardError: ``` and all instances of ``` raise Exception ``` by ``` raise RuntimeError ``` --- **Apply** [attachment: trac_11310.patch](https://github.com/sagemath/sage-prod/files/10652811/trac_11310.patch.gz) and [attachment: 11310_auto.patch](https://github.com/sagemath/sage-prod/files/10652810/11310_auto.patch.gz) and [attachment: 11310_psage.patch](https://github.com/sagemath/sage-prod/files/10652812/11310_psage.patch.gz). Depends on #13109 CC: @kini Component: **misc** Author: **Jeroen Demeyer, Volker Braun** Reviewer: **Keshav Kini** Merged: **sage-5.3.beta1** _Issue created by migration from https://trac.sagemath.org/ticket/11310_