[pypy-dev] [issue16] try: except: fails to catch exceptions in non trivial cases

Rocco Moretti pypy-issues at codespeak.net
Sat Apr 12 23:52:44 CEST 2003


New submission from Rocco Moretti <roccomoretti at netscape.net>:

The current exceptionmatch() function in baseobjectspace.py
only handles the trivial case (exception to be matched is
identical to the one raised). The associated subversion diff
should allow parent classes and tuples to be allowed in the
except: clause.


----------
files: except_diff.txt
messages: 32
nosy: rocco
priority: bug
status: testing
title: try: except: fails to catch exceptions in non trivial cases
__________________________________________________
PyPython issue tracker <pypy-issues at codespeak.net>
http://codespeak.net/issues/pypy/issue16
__________________________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: except_diff.txt
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20030412/afccff1f/attachment.txt>


More information about the Pypy-dev mailing list