--- you can reply above this line ---
New issue 115: Catch-all exceptions don't make an exception for GeneratorExit
http://bitbucket.org/hpk42/py-trunk/issue/115/catch-all-exceptions-dont-make-an-exception-for
Floris Bruynooghe / flub on Sun, 15 Aug 2010 16:29:43 +0200:
Description:
Hi
pylib seems to often use
{{{
try:
...
except (KeyboardInterrupt, SystemExit):
raise
except:
...
}}}
However this currently misses GeneratorExit and might miss other exceptions
which don't (and shouldn't) inherit from Exception in the future.
However the hierarchy only got rearranged in python 2.5 and GeneratorExit was
only present since 2.5. So maybe this can't be solved until 2.4 is no longer
supported.
Regards
Floris
Responsible:
hpk42
--
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.
_______________________________________________
py-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/py-dev