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 xdegaye
Recipients benjamin.peterson, georg.brandl, jcea, serhiy.storchaka, vstinner, xdegaye
Date 2018-02-26.17:29:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Those are the changes with the current behavior from the behavior in 3.5 observed at the time of the initial bug report:
  python 3.7:    Unchanged. After a jump from the 'exception' event into the previous statement, the ensuing 'step' command triggers a trace 'return' event.      The sequence of trace events is unchanged and Python aborts now at the last 'step' command with:
                   python: Python/ceval.c:1083: _PyEval_EvalFrameDefault: Assertion `STACK_LEVEL() <= co->co_stacksize' failed.
  python 3.8:    Unchanged. Unchanged from 3.7.      The sequence of trace events is unchanged and the last 'step' command prints now the cryptic error msg:
                   TypeError: 'NoneType' object is not callable
                   > /path/to/>0
                   -> for i in range(1):

Applying the last patch fixes both 3.7 and 3.8. I can build a PR from this patch. An explanation should be given for the behavior of 3.7 and 3.8 in the case.
Date User Action Args
2018-02-26 17:29:59xdegayesetrecipients: + xdegaye, georg.brandl, jcea, vstinner, benjamin.peterson, serhiy.storchaka
2018-02-26 17:29:59xdegayesetmessageid: <>
2018-02-26 17:29:59xdegayelinkissue17288 messages
2018-02-26 17:29:59xdegayecreate