8000 Fix pdb issues in Python 3.13.1 by Carreau · Pull Request #14598 · ipython/ipython · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion IPython/core/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def _get_frame_locals(self, frame):
So if frame is self.current_frame we instead return self.curframe_locals

"""
if frame is self.curframe:
if frame is getattr(self, "curframe", None):
return self.curframe_locals
else:
return frame.f_locals
Expand Down
Loading
0