Exception Handling in Python 3

Lie Ryan lie.1296 at gmail.com
Sun Oct 24 11:46:21 EDT 2010


On 10/24/10 16:01, Steve Holden wrote:
> I was somewhat surprised to discover that Python 3 no longer allows an
> exception to be raised in an except clause (or rather that it reports it
> as a separate exception that occurred during the handling of the first).

FYI, Java has a similar behavior. In Java, however, after a certain
length, some of the older exceptions will be suppressed and will only
print message informing that there are more exceptions above it.



More information about the Python-list mailing list