Skip to content
Snippets Groups Projects
Unverified Commit bde06e1b authored by Irit Katriel's avatar Irit Katriel Committed by GitHub
Browse files

gh-92228: disable the compiler's 'small exit block inlining' optimization for...

gh-92228: disable the compiler's 'small exit block inlining' optimization for blocks that have a line number (GH-94592)



Inlining of code that corresponds to source code lines, can make it hard to distinguish later between code which is only reachable from except handlers, and that which is reachable in normal control flow. This caused problems with the debugger's jump feature.

This PR turns off the inlining optimisation for code which has line numbers. We still inline things like the implicit "return None".
parent 94988603
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment