summaryrefslogtreecommitdiffstats
path: root/Python/frozen_modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-07-07 10:10:32 (GMT)
committerGitHub <noreply@github.com>2022-07-07 10:10:32 (GMT)
commit74c953d396816c0ef3de80276c00d29f79cbf8bf (patch)
treefa88ff9c1acdebb30f025525507f71bdf028d7d1 /Python/frozen_modules
parent3517c138a814a571fab512c489bacafc7a0e3f22 (diff)
downloadcpython-74c953d396816c0ef3de80276c00d29f79cbf8bf.zip
cpython-74c953d396816c0ef3de80276c00d29f79cbf8bf.tar.gz
cpython-74c953d396816c0ef3de80276c00d29f79cbf8bf.tar.bz2
[3.11] gh-92228: disable the compiler's 'small exit block inlining' optimization for blocks that have a line number (GH-94592) (GH-94643)
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".. (cherry picked from commit bde06e1b8381f140b296a397ddd1deb1c784ff8e) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Diffstat (limited to 'Python/frozen_modules')
0 files changed, 0 insertions, 0 deletions