We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5280715 commit 6725fb2Copy full SHA for 6725fb2
src/pdbpp.py
@@ -365,6 +365,20 @@ def prompt(self, value):
365
value = "{}++{}".format(*m.groups(""))
366
self._pdbpp_prompt = value
367
368
+ @property
369
+ def curframe_locals(self):
370
+ if sys.version_info >= (3, 14):
371
+ return self.curframe.f_locals
372
+
373
+ return super().curframe_locals
374
375
+ @curframe_locals.setter
376
+ def curframe_locals(self, value):
377
378
+ self.curframe.f_locals = value
379
+ else:
380
+ self.curframe_locals = value
381
382
def _setup_streams(self, stdout):
383
self.stdout = self.ensure_file_can_write_unicode(stdout)
384
0 commit comments