mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Forward port MvL's fix in 43227:
Fix crash when a Unicode string containing an encoding declaration is compile()d. Fixes #1115379.
This commit is contained in:
parent
4d073bb9a1
commit
e98ccf6690
3 changed files with 11 additions and 0 deletions
|
|
@ -12,6 +12,9 @@ What's New in Python 2.5 alpha 1?
|
|||
Core and builtins
|
||||
-----------------
|
||||
|
||||
- Bug #1115379: Compiling a Unicode string with an encoding declaration
|
||||
now gives a SyntaxError.
|
||||
|
||||
- Previously, Python code had no easy way to access the contents of a
|
||||
cell object. Now, a ``cell_contents`` attribute has been added
|
||||
(closes patch #1170323).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue