summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-03-16 13:43:58 (GMT)
committerGitHub <noreply@github.com>2021-03-16 13:43:58 (GMT)
commit6086ae7fd4aeb4089282189673f9bd0cc33abf9b (patch)
treee773063a141a899e841be0eb382fb1031868ceaa /Doc/whatsnew
parenta8ef4572a6b28bcfc0b10b34fa4204954b9dd761 (diff)
downloadcpython-6086ae7fd4aeb4089282189673f9bd0cc33abf9b.zip
cpython-6086ae7fd4aeb4089282189673f9bd0cc33abf9b.tar.gz
cpython-6086ae7fd4aeb4089282189673f9bd0cc33abf9b.tar.bz2
Add PEP 626 to what's new in 3.10. (#24892)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.10.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index c4c282e..00b0f98 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -167,6 +167,14 @@ These improvements are inspired by previous work in the PyPy interpreter.
(Contributed by Pablo Galindo in :issue:`42864` and Batuhan Taskaya in
:issue:`40176`.)
+PEP 626: Precise line numbers for debugging and other tools
+-----------------------------------------------------------
+
+PEP 626 brings more precise and reliable line numbers for debugging, profiling and coverage tools.
+Tracing events, with the correct line number, are generated for all lines of code executed and only for lines of code that are executed.
+
+The ``f_lineo`` attribute of frame objects will always contain the expected line number.
+
PEP 634: Structural Pattern Matching
------------------------------------