How do I know all thrown exceptions of a function?

Steve Holden sholden at holdenweb.com
Fri Feb 2 16:07:37 EST 2001


"D-Man" <dsh8290 at rit.edu> wrote in message
news:mailman.980287769.21816.python-list at python.org...
> On Tue, Jan 23, 2001 at 06:48:45PM +0000, Remco Gerlich wrote:
[ ... ]
>
> | - Obviously trying to change exceptions that aren't caused by your code
> |   (like KeyboardInterrupt) is of no use.
>
> How about ComputerExplodingError :-).
>
Surely the only code which would cause this would be something which
naiively executed the infamous HCF opcode?  Is there an HCF equivalent in
the Python bytecodes?

regards
 Steve




More information about the Python-list mailing list