summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-01-05 12:04:10 (GMT)
committerGitHub <noreply@github.com>2021-01-05 12:04:10 (GMT)
commitee9f98d9f4b881ee15868a836a2b99271df1bc0e (patch)
tree5f5a6b4cc99c86d7ee99cf0c8287cf601abd99a7 /Misc
parente40e2a2cc94c554e7e245a8ca5a7432d31a95766 (diff)
downloadcpython-ee9f98d9f4b881ee15868a836a2b99271df1bc0e.zip
cpython-ee9f98d9f4b881ee15868a836a2b99271df1bc0e.tar.gz
cpython-ee9f98d9f4b881ee15868a836a2b99271df1bc0e.tar.bz2
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
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-01-04-18-17-07.bpo-42823.dcSynu.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-01-04-18-17-07.bpo-42823.dcSynu.rst b/Misc/NEWS.d/next/Core and Builtins/2021-01-04-18-17-07.bpo-42823.dcSynu.rst
new file mode 100644
index 0000000..77dbc02
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-01-04-18-17-07.bpo-42823.dcSynu.rst
@@ -0,0 +1 @@
+frame.f_lineno is correct even if frame.f_trace is set to True