Thanks to visit codestin.com Credit goes to github.com
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 06535ee commit d72e043Copy full SHA for d72e043
2 files changed
Lib/doctest.py
@@ -318,6 +318,8 @@ def __init__(self, out):
318
self.__out = out
319
self.__debugger_used = False
320
pdb.Pdb.__init__(self, stdout=out)
321
+ # still use input() to get user input
322
+ self.use_rawinput = 1
323
324
def set_trace(self, frame=None):
325
self.__debugger_used = True
Misc/NEWS
@@ -475,6 +475,9 @@ C-API
475
Library
476
-------
477
478
+- Issue #5727: Restore the ability to use readline when calling into pdb
479
+ in doctests.
480
+
481
- Issue #6719: In pdb, do not stop somewhere in the encodings machinery
482
if the source file to be debugged is in a non-builtin encoding.
483
0 commit comments