File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ ###########################################################################
You can’t perform that action at this time.
0 commit comments