This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ppperry
Recipients ppperry
Date 2017-07-17.21:24:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500326698.05.0.0587216442362.issue30953@psf.upfronthosting.co.za>
In-reply-to
Content
trying to execute the following code:
import sys
def trace(frame, event, arg):
    if event == "line" and frame.f_lineno > 12:
        frame.f_lineno = 12
        return None
    return trace
sys.settrace(trace)
def error():
    try:
        pass
    except:
        pass
    pass
    pass
error()
Produces a fatal error:
Fatal Python error: XXX block stack underflow

Current thread 0x00000af4 (most recent call first):
  File "jumpintoexception.py", line 12 in error
  File "jumpintoexception.py", line 15 in <module>
History
Date User Action Args
2017-07-17 21:24:58ppperrysetrecipients: + ppperry
2017-07-17 21:24:58ppperrysetmessageid: <1500326698.05.0.0587216442362.issue30953@psf.upfronthosting.co.za>
2017-07-17 21:24:57ppperrylinkissue30953 messages
2017-07-17 21:24:57ppperrycreate