Any way to turn off exception handling? (debugging)
steve at holdenweb.com
Thu Feb 11 19:42:08 CET 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?
An extension of the warnings mechanism might be the easiest way to play
with an implementation ...
Steve Holden +1 571 484 6266 +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/
Holden Web LLC http://www.holdenweb.com/
UPCOMING EVENTS: http://holdenweb.eventbrite.com/
More information about the Python-list