Terry J. Reedy <tjre...@udel.edu> added the comment: This is a somewhat recent reversion.
3.1.5 (a month ago) http://docs.python.org/release/3.1.5/library/doctest.html#module-doctest >>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] 3.2.0 http://docs.python.org/release/3.2/library/doctest.html#module-doctest >>> print(list(range(20))) [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] In Py 2, the same change happened between 2.7.2, released June 2011 after 3.2.0, and 2.7.3. So some change was made for 3.2.0 but not ported to 2.7 until several months later, and never ported to 3.1 (or 2.6). I hope this helps. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14865> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com