summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-23 05:39:47 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-23 05:39:47 (GMT)
commite98ccf66902f10ce2daaa33a22fb8ee8d99de18f (patch)
tree41e520b10ee42e64e198c6aef48c3f397f1d7e13 /Misc
parent4d073bb9a1f72383e0ba78356a09c3799b41add6 (diff)
downloadcpython-e98ccf66902f10ce2daaa33a22fb8ee8d99de18f.zip
cpython-e98ccf66902f10ce2daaa33a22fb8ee8d99de18f.tar.gz
cpython-e98ccf66902f10ce2daaa33a22fb8ee8d99de18f.tar.bz2
Forward port MvL's fix in 43227:
Fix crash when a Unicode string containing an encoding declaration is compile()d. Fixes #1115379.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 400504d..f41f237 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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).