commit | ff0f2670ff34e062e7c70af0381189e5752620a2 | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Tue Jan 15 21:25:11 2008 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Tue Jan 15 21:25:11 2008 +0000 |
tree | b9c261ee4ad025e06702ce7297a082dee8cce595 | |
parent | e805782b537cce4a1cf1d15b554b0895dc67123a [diff] [blame] |
test_doctest fails since r59984. Not sure if these are the correct values, but save_stdout has to be set before its usage...
diff --git a/Lib/pdb.py b/Lib/pdb.py index e2ace87..8da23d8 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py
@@ -199,6 +199,8 @@ globals = self.curframe.f_globals try: code = compile(line + '\n', '<stdin>', 'single') + save_stdout = sys.stdout + save_stdin = sys.stdin try: sys.stdin = self.stdin sys.stdout = self.stdout