Skip to content

Commit c8fdd5d

Browse files
📜🤖 Added by blurb_it.
1 parent 24939fa commit c8fdd5d

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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.

0 commit comments

Comments
 (0)