How are exceptions actually implemented in assembly?
Martin von Loewis
loewis at informatik.hu-berlin.de
Fri Jan 25 04:58:58 EST 2002
bokr at oz.net (Bengt Richter) writes:
> I am not speaking as compiler developer, but I imagine that a
> compiler could generate information stored in static tables that
> describe try blocks and their associated exception handlers, to
> support unwinding the stack and finding an exception handler for a
> raised exception.
This is precisely what many C++ compilers do, and this is also how
Java bytecode works.
Regards,
Martin
More information about the Python-list
mailing list