summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-18 22:37:38 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-18 22:37:38 (GMT)
commit00888934476bf21fc7b0b76b96adf08cee7db57e (patch)
tree832e8d091b83e5d054b8ad157334a66625f6a003 /Misc
parent1613ed810801df8327ae6f55b7785fec3a9dc6bb (diff)
downloadcpython-00888934476bf21fc7b0b76b96adf08cee7db57e.zip
cpython-00888934476bf21fc7b0b76b96adf08cee7db57e.tar.gz
cpython-00888934476bf21fc7b0b76b96adf08cee7db57e.tar.bz2
kill py_compile's homemade encoding detection in favor of tokenize.detect_encoding() (see #8168)
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 f1b068b..5484d39 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -283,6 +283,8 @@ C-API
Library
-------
+- Issue #8168: py_compile now handles files with utf-8 BOMS.
+
- ``tokenize.detect_encoding`` now returns ``'utf-8-sig'`` when a UTF-8 BOM is
detected.