summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2018-10-13 09:27:30 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-10-13 09:27:30 (GMT)
commitd4d60134b29290049e28df54f23493de4f1824b6 (patch)
treec6a08e45fead25f16ebadd4d6dff46a45ff9af5f /Misc
parent0461704060474cb358d3495322950c4fd00616a0 (diff)
downloadcpython-d4d60134b29290049e28df54f23493de4f1824b6.zip
cpython-d4d60134b29290049e28df54f23493de4f1824b6.tar.gz
cpython-d4d60134b29290049e28df54f23493de4f1824b6.tar.bz2
bpo-16965: 2to3 now rewrites execfile() to open with 'rb'. (GH-8569)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-10-12-20-30-42.bpo-16965.xo5LAr.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-12-20-30-42.bpo-16965.xo5LAr.rst b/Misc/NEWS.d/next/Library/2018-10-12-20-30-42.bpo-16965.xo5LAr.rst
new file mode 100644
index 0000000..8e9d2f9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-10-12-20-30-42.bpo-16965.xo5LAr.rst
@@ -0,0 +1,2 @@
+The :term:`2to3` :2to3fixer:`execfile` fixer now opens the file with mode
+``'rb'``. Patch by Zackery Spytz.