Sometimes you want non-local transfers of control, beyond just exceptions. Python uses exceptions as both error conditions and signals.
It's seemingly nearly mandatory in discussions regarding exceptions to bring up Common Lisps's condition system, which is a superset of exceptions. I've included a link to a chapter from a book on Lisp.
It's seemingly nearly mandatory in discussions regarding exceptions to bring up Common Lisps's condition system, which is a superset of exceptions. I've included a link to a chapter from a book on Lisp.
http://www.gigamonkeys.com/book/beyond-exception-handling-co...