summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-10-17 03:38:50 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-10-17 03:38:50 (GMT)
commitda780432378e6298463889557ab43e0c156758cd (patch)
treedc622a9b62874851f90abc45524d3d2653cab9ba /Misc
parent9e9dcd6d4225faa6a8b19120f009e0253d16ab92 (diff)
downloadcpython-da780432378e6298463889557ab43e0c156758cd.zip
cpython-da780432378e6298463889557ab43e0c156758cd.tar.gz
cpython-da780432378e6298463889557ab43e0c156758cd.tar.bz2
Latin-1 source code was not being properly decoded when passed through
compile(). This was due to left-over special-casing before UTF-8 became the default source encoding. Closes issue #3574. Thanks to Victor Stinner for help with the patch.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0f47afb..ede8e52 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,8 @@ What's New in Python 3.0 beta 5
Core and Builtins
-----------------
+- Issue #3574: compile() incorrectly handled source code encoded as Latin-1.
+
- Issues #2384 and #3975: Tracebacks were not correctly printed when the
source file contains a ``coding:`` header: the wrong line was displayed, and
the encoding was not respected.