How do I know all thrown exceptions of a function?

Steve Williams sandj.williams at gte.net
Fri Feb 2 23:05:41 EST 2001


Steve Holden wrote:

> "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

Or even the IBM 7010 opcode 'Branch on Sleepy Operator.'




More information about the Python-list mailing list