mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
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:
parent
0e717addd8
commit
d23d3930ff
3 changed files with 46 additions and 22 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue