Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d72e043b
Commit
d72e043b
authored
Jul 30, 2010
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#5727: Restore the ability to use readline when calling into pdb in doctests.
parent
06535ee5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
Lib/doctest.py
Lib/doctest.py
+2
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/doctest.py
View file @
d72e043b
...
...
@@ -318,6 +318,8 @@ class _OutputRedirectingPdb(pdb.Pdb):
self
.
__out
=
out
self
.
__debugger_used
=
False
pdb
.
Pdb
.
__init__
(
self
,
stdout
=
out
)
# still use input() to get user input
self
.
use_rawinput
=
1
def
set_trace
(
self
,
frame
=
None
):
self
.
__debugger_used
=
True
...
...
Misc/NEWS
View file @
d72e043b
...
...
@@ -475,6 +475,9 @@ C-API
Library
-------
- Issue #5727: Restore the ability to use readline when calling into pdb
in doctests.
- Issue #6719: In pdb, do not stop somewhere in the encodings machinery
if the source file to be debugged is in a non-builtin encoding.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment