commit | 29e68edbf47b708c1f7082c2235d82f41e747635 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Oct 02 13:14:03 2015 +0300 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Fri Oct 02 13:14:03 2015 +0300 |
tree | 554941fc129b51181ea2aa7799a967a3042ebcec | |
parent | 5dbe245ef238762c8e1100885e8671bf2e089157 [diff] | |
parent | 58c8f2bb6de115b620cec3cf995f04005573765c [diff] |
Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. 3. In some circumstances the '\xfd' character was produced instead of the replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).