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.
diff --git a/Misc/NEWS b/Misc/NEWS
index 8efa6d2..ddcf030 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -29,7 +29,10 @@
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
-----