summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-06-30 13:58:29 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-06-30 13:58:29 (GMT)
commit319672e8a6ca3239573340dfb3d8fa46f7f53f0c (patch)
treedfa4fb2be5e97b5f633597861537cb1c5ced2a6e /Misc
parent0b5e049ea01f7b0506a8fe596f1d79e2350fc9a4 (diff)
parente6c910e9537d405a11377a478556731b4eaec419 (diff)
downloadcpython-319672e8a6ca3239573340dfb3d8fa46f7f53f0c.zip
cpython-319672e8a6ca3239573340dfb3d8fa46f7f53f0c.tar.gz
cpython-319672e8a6ca3239573340dfb3d8fa46f7f53f0c.tar.bz2
(merge 3.2) Issue #12451: pydoc.synopsis() now reads the encoding cookie if
available, to read the Python script from the right encoding.
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 aa09eee..0fb693a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -200,6 +200,9 @@ Core and Builtins
Library
-------
+- Issue #12451: pydoc.synopsis() now reads the encoding cookie if available,
+ to read the Python script from the right encoding.
+
- Issue #12451: distutils now opens the setup script in binary mode to read the
encoding cookie, instead of opening it in UTF-8.