]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42823: Fix frame lineno when frame.f_trace is set (GH-24099)
authorMark Shannon <mark@hotpy.org>
Tue, 5 Jan 2021 12:04:10 +0000 (12:04 +0000)
committerGitHub <noreply@github.com>
Tue, 5 Jan 2021 12:04:10 +0000 (12:04 +0000)
commitee9f98d9f4b881ee15868a836a2b99271df1bc0e
tree5f5a6b4cc99c86d7ee99cf0c8287cf601abd99a7
parente40e2a2cc94c554e7e245a8ca5a7432d31a95766
bpo-42823: Fix frame lineno when frame.f_trace is set (GH-24099)

* Add test for frame.f_lineno with/without tracing.

* Make sure that frame.f_lineno is correct regardless of whether frame.f_trace is set.

* Update importlib

* Add NEWS
Include/cpython/frameobject.h
Lib/test/test_frame.py
Misc/NEWS.d/next/Core and Builtins/2021-01-04-18-17-07.bpo-42823.dcSynu.rst [new file with mode: 0644]
Objects/codeobject.c
Objects/frameobject.c
Python/ceval.c
Python/compile.c
Python/importlib_external.h