Any way to turn off exception handling? (debugging)

mk mrkafk at gmail.com
Thu Feb 11 13:24:31 EST 2010


Stephen Hansen wrote:
> the uncommon, the exceptional, case. If one could somehow turn off 
> exceptions, you can't even do a for loop: every for loop would become 
> infinite-- exceptions are how Python signals the end of an iterator. 
> Think about that, *every* for loop in Python suddenly breaks. 

Hmm what if one could turn off exception handling for particular 
exception classes?




More information about the Python-list mailing list