Issue #7820: The parser tokenizer restores all bytes in the right if the BOM

check fails.

Fix an assertion in pydebug mode.
This commit is contained in:
Victor Stinner 2010-03-02 23:20:02 +00:00
parent 0e717addd8
commit d23d3930ff
3 changed files with 46 additions and 22 deletions

View file

@ -12,6 +12,9 @@ What's New in Python 2.7 alpha 4?
Core and Builtins
-----------------
- Issue #7820: The parser tokenizer restores all bytes in the right if
the BOM check fails.
- Issue #7309: Fix unchecked attribute access when converting
UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to
strings.