Skip to content

Commit 24939fa

Browse files
committed
add news entry
1 parent 1766034 commit 24939fa

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Fix breakpoint resolution for class methods when the module is not imported.
2+
When setting a breakpoint such as ``break C.foo`` while the module that
3+
defines ``C`` has not yet been imported, ``pdb`` could previously resolve
4+
and bind the top‑level function ``foo`` incorrectly. This change ensures
5+
that unresolved class-attribute breakpoints raise a ``"not found"`` error
6+
instead of registering an incorrect target.
7+
8+
# # Uncomment one of these "section:" lines to specify which section # this
9+
entry should go in in Misc/NEWS.d. # #.. section: Security #.. section: Core
10+
and Builtins #.. section: Library #.. section: Documentation #.. section:
11+
Tests #.. section: Build #.. section: Windows #.. section: macOS #..
12+
section: IDLE #.. section: Tools/Demos #.. section: C API
13+
14+
# Write your Misc/NEWS.d entry below. It should be a simple ReST paragraph.
15+
# Don't start with "- Issue #<n>: " or "- gh-issue-<n>: " or that sort of
16+
stuff.
17+
###########################################################################

0 commit comments

Comments
 (0)