2013/7/16 Thomas Kluyver <tho...@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


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caoy+up7-nguvao-4bqtwrgymr-vnusayta2k+v-+znraxso...@mail.gmail.com

Reply via email to