diff options
author | Georg Brandl <georg@python.org> | 2010-07-30 14:14:42 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-30 14:14:42 (GMT) |
commit | 3e67c5c52e644876d741b6cec4e36953a7ef3c21 (patch) | |
tree | 96f333b5f2774f07637d3e49090b3bca10a4abca /Lib/pdb.py | |
parent | 19746cb322095a82f9792bc6806ba66dcc886973 (diff) | |
download | cpython-3e67c5c52e644876d741b6cec4e36953a7ef3c21.zip cpython-3e67c5c52e644876d741b6cec4e36953a7ef3c21.tar.gz cpython-3e67c5c52e644876d741b6cec4e36953a7ef3c21.tar.bz2 |
Revert r83267, as it breaks a few doctests and generally leads to ugly truncated output.
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -237,7 +237,7 @@ class Pdb(bdb.Bdb, cmd.Cmd): if type(t) == type(''): exc_type_name = t else: exc_type_name = t.__name__ - print >>self.stdout, '***', exc_type_name + ':', _saferepr(v) + print >>self.stdout, '***', exc_type_name + ':', v def precmd(self, line): """Handle alias expansion and ';;' separator.""" @@ -753,7 +753,7 @@ class Pdb(bdb.Bdb, cmd.Cmd): if isinstance(t, str): exc_type_name = t else: exc_type_name = t.__name__ - print >>self.stdout, '***', exc_type_name + ':', _saferepr(v) + print >>self.stdout, '***', exc_type_name + ':', repr(v) raise def do_p(self, arg): |