[issue5727] doctest pdb readline broken
Sriram
report at bugs.python.org
Sat Sep 19 23:13:28 CEST 2009
Sriram <sriramrathinavelu at yahoo.com> added the comment:
Hi,
How about changing pdb's behavior, that it disables readline only if the
passed stream is not the stdout stream?
Also when looking at doctest module, I found that bdb's trace_dispatch
was overridden to set the debugger's output stream to something other
than stdout. I presume, that since prior to 2.5, pdb never took the
stdin and stdout arguments and that overridden method was needed to make
pdb use a stream other than stdout, but now that 2.5 allows us to pass
the output stream in init method of pdb, that function is no longer
needed.
Thanks
----------
nosy: +sriram
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5727>
_______________________________________
More information about the Python-bugs-list
mailing list