Identifying exceptions that can be raised

dkcpub ded-bounces at foo.net
Fri Nov 19 06:32:18 EST 2004


Brian van den Broek wrote:
> If you mean you want a list of exceptions that a given function could 
> raise, well, never mind :-)

Yeah, that is what I mean.  I write foo(), which calls a half-dozen 
library functions.  What exceptions is a caller of foo() going to have 
to handle?  It there an automated way of discovering that?

/Dan



More information about the Python-list mailing list