diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2025-01-04 15:53:08 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2025-01-04 16:07:11 +0300 |
commit | 0aaf156b641766ba2f26c5c54f2aa02016bb51f4 (patch) | |
tree | 4aefc952c87e1dc424ec9002f05412ce4b2b2598 /contrib/python/ipython/py3/IPython/core/debugger.py | |
parent | a719ba289f03a96a2ad4e96605e57870e50a992b (diff) | |
download | ydb-0aaf156b641766ba2f26c5c54f2aa02016bb51f4.tar.gz |
Intermediate changes
commit_hash:52e193336c733675186ea9e84a61825375cdab04
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/debugger.py')
-rw-r--r-- | contrib/python/ipython/py3/IPython/core/debugger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/debugger.py b/contrib/python/ipython/py3/IPython/core/debugger.py index 84d3de8c5b..e06bd56318 100644 --- a/contrib/python/ipython/py3/IPython/core/debugger.py +++ b/contrib/python/ipython/py3/IPython/core/debugger.py @@ -550,7 +550,7 @@ class Pdb(OldPdb): 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 |