]> granicus.if.org Git - python/commit
#8471: reset _SpoofOut.buf to an empty string when truncating; if Unicode had been...
authorGeorg Brandl <georg@python.org>
Sun, 1 Aug 2010 08:22:05 +0000 (08:22 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 1 Aug 2010 08:22:05 +0000 (08:22 +0000)
commit1f05e2e9baa66b3c6241c2450481eee0756381ca
treeca88e13d2923c25cd77836490e7ec5dd0b364b1b
parent58f15b66ffb03bfe2c9fbc111e1cc28f4cd3ddd4
#8471: reset _SpoofOut.buf to an empty string when truncating; if Unicode had been output previously, it had been coerced to a Unicode string, potentially making subsequent prints behave differently or raise UnicodeErrors.
Lib/doctest.py
Lib/test/test_doctest.py
Misc/NEWS