]> granicus.if.org Git - python/commit
- Removed redundant call to expandtabs in DocTestParesr.
authorEdward Loper <edloper@gradient.cis.upenn.edu>
Fri, 27 Aug 2004 02:07:46 +0000 (02:07 +0000)
committerEdward Loper <edloper@gradient.cis.upenn.edu>
Fri, 27 Aug 2004 02:07:46 +0000 (02:07 +0000)
commit2de91ba2ab02f914a6ea71f329d4efbe02293e9d
tree8275e2c1d7a4aceb73ef27087440cad7cf04af17
parent8ce9f162595e500af16d8543e896ceeb815e51ac
- Removed redundant call to expandtabs in DocTestParesr.
- Improvements to interactive debugging support:
  - Changed the replacement pdb.set_trace to redirect stdout to the
    real stdout *only* during interactive debugging; stdout from code
    continues to go to the fake stdout.
  - When the interactive debugger gets to the end of an example,
    automatically continue.
  - Use a replacement linecache.getlines that will return source lines
    from doctest examples; this makes the source available to the
    debugger for interactive debugging.
- In test_doctest, use a specialized _FakeOutput class instead of a
  temporary file to fake stdin for the interactive interpreter.
Lib/doctest.py
Lib/test/test_doctest.py