diff options
author | Georg Brandl <georg@python.org> | 2010-08-01 08:22:05 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-01 08:22:05 (GMT) |
commit | 1f05e2e9baa66b3c6241c2450481eee0756381ca (patch) | |
tree | ca88e13d2923c25cd77836490e7ec5dd0b364b1b /Python/getversion.c | |
parent | 58f15b66ffb03bfe2c9fbc111e1cc28f4cd3ddd4 (diff) | |
download | cpython-1f05e2e9baa66b3c6241c2450481eee0756381ca.zip cpython-1f05e2e9baa66b3c6241c2450481eee0756381ca.tar.gz cpython-1f05e2e9baa66b3c6241c2450481eee0756381ca.tar.bz2 |
#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.
Diffstat (limited to 'Python/getversion.c')
0 files changed, 0 insertions, 0 deletions