[Python-ideas] Better exception handling hygiene