Re: starting to dive into python package bugs
2013/7/16 Thomas Kluyver <thomas@kluyver.me.uk>:
> I would be inclined *not* to use BaseException for this - the intention is
> that 'except Exception:' should catch all normal exceptions, and only
> KeyboardInterrupt and SystemExit are outside that. I don't know the
> specifics of the string exceptions you're updating, but almost anything that
> Python code explicitly raises should inherit from Exception.
I agree. I sent a new patch on the same bug report (#585291) to raise Exception.
--
Imprimez ce message en A2 et en couleur au moins 500 fois!
Brûlez des arbres!!
-- envoyé depuis ma centrale à charbon
Stéphane
Reply to: