[3.7] bpo-17288: Prevent jumps from 'return' and 'exception' trace events by xdegaye · Pull Request #5928 · python/cpython
Fix also a bug in the previous implementation of the PR where jumpFrom/jumpTo were systematically incremented by 1 by the jump_test() decorator without taking into account that JumpTracer allows now jumpFrom/jumpTo from within nested functions.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…ents. (pythonGH-5928) (cherry picked from commit e32bbaf) Co-authored-by: xdegaye <xdegaye@gmail.com>
miss-islington added a commit that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters