[Python-checkins] Add PEP 626 to what's new in 3.10. (#24892)

markshannon webhook-mailer at python.org
Tue Mar 16 09:44:03 EDT 2021

commit: 6086ae7fd4aeb4089282189673f9bd0cc33abf9b
branch: master
author: Mark Shannon <mark at hotpy.org>
committer: markshannon <mark at hotpy.org>
date: 2021-03-16T13:43:58Z

Add PEP 626 to what's new in 3.10. (#24892)

M Doc/whatsnew/3.10.rst

diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index c4c282e5a04ea..00b0f985e3386 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
+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

More information about the Python-checkins mailing list