Skip to content

Commit 6086ae7

Browse files
authored
Add PEP 626 to what's new in 3.10. (#24892)
1 parent a8ef457 commit 6086ae7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/whatsnew/3.10.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,14 @@ These improvements are inspired by previous work in the PyPy interpreter.
167167
(Contributed by Pablo Galindo in :issue:`42864` and Batuhan Taskaya in
168168
:issue:`40176`.)
169169
170+
PEP 626: Precise line numbers for debugging and other tools
171+
-----------------------------------------------------------
172+
173+
PEP 626 brings more precise and reliable line numbers for debugging, profiling and coverage tools.
174+
Tracing events, with the correct line number, are generated for all lines of code executed and only for lines of code that are executed.
175+
176+
The ``f_lineo`` attribute of frame objects will always contain the expected line number.
177+
170178
171179
PEP 634: Structural Pattern Matching
172180
------------------------------------

0 commit comments

Comments
 (0)