summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-11-08 22:07:37 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-11-08 22:07:37 (GMT)
commit50c6bdb1d6f5344fcaa772c6a1a37c09bbe55bf6 (patch)
treed13b58927b5b67465558756843e551830728beba /Misc
parente0b855fac96e858934e9792c6d04bfb2f35b3b9d (diff)
downloadcpython-50c6bdb1d6f5344fcaa772c6a1a37c09bbe55bf6.zip
cpython-50c6bdb1d6f5344fcaa772c6a1a37c09bbe55bf6.tar.gz
cpython-50c6bdb1d6f5344fcaa772c6a1a37c09bbe55bf6.tar.bz2
test_doctest.py test_pdb_set_trace_nested(): A new test from Jim Fulton
showing that doctest's pdb.set_trace() support was dramatically broken. doctest.py _OutputRedirectingPdb.trace_dispatch(): Return a local trace function instead of (implicitly) None. Else interaction with pdb was bizarre, noticing only 'call' events. Amazingly, the existing set_trace() tests didn't care.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8efa6d2..ddcf030 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -29,7 +29,10 @@ Library
attempt is made to execute the remaining handlers. The last exception
raised is re-raised.
-- Patch 1061679: Added `__all__` to pickletools.py.
+- ``doctest``'s new support for adding ``pdb.set_trace()`` calls to
+ doctests was broken in a dramatic but shallow way. Fixed.
+
+- Patch 1061679: Added ``__all__`` to pickletools.py.
Build
-----