commit | 1f05e2e9baa66b3c6241c2450481eee0756381ca | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Aug 01 08:22:05 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Aug 01 08:22:05 2010 +0000 |
tree | ca88e13d2923c25cd77836490e7ec5dd0b364b1b | |
parent | 58f15b66ffb03bfe2c9fbc111e1cc28f4cd3ddd4 [diff] |
#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.