Edward Loper's cool and massive refactoring of doctest.py, merged from
the tim-doctest-merge-24a2 tag on the the tim-doctest-branch branch.
We did development on the branch in case it wouldn't land in time for
2.4a2, but the branch looked good: Edward's tests passed there, ditto
Python's tests, and ditto the Zope3 tests. Together, those hit doctest
heavily.
diff --git a/Misc/NEWS b/Misc/NEWS
index be1d1ce..74be15f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -83,6 +83,17 @@
Library
-------
+- Thanks to Edward Loper, doctest has been massively refactored, and
+ many new features were added. Full docs will appear later. For now
+ the doctest module comments and new test cases give good coverage.
+ The refactoring provides many hook points for customizing behavior
+ (such as how to report errors, and how to compare expected to actual
+ output). New features include a <BLANKLINE> marker for expected
+ output containing blank lines, options to produce unified or context
+ diffs when actual output doesn't match expectations, an option to
+ normalize whitespace before comparing, and an option to use an
+ ellipsis to signify "don't care" regions of output.
+
- Tkinter now supports the wish -sync and -use options.
- The following methods in time support passing of None: ctime(), gmtime(),