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
On 16 July 2013 22:25, Stéphane Blondon stephane.blon...@gmail.com wrote:
I checked the string exceptions in the code and they are not catched
(see shell commands used at this end of this message).
So I plan to wrap the string with an exception (Exception ou
TypeError). To me, the errors
Thanks for your replies Barry and Thomas!
According to apt-rdepends, there are no packages depending on python-forgetsql:
$ apt-rdepends --reverse python-forgetsql
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-forgetsql
So it will simpler to
On 3 July 2013 19:36, Barry Warsaw ba...@debian.org wrote:
The reason is that if some code is trying to:
except 'error message'
this will fail if the raise site is changed.
In fact it will already fail - recent Python 2 versions throw a TypeError
if you attempt to raise a bare string
4 matches
Mail list logo