summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-21 12:25:53 (GMT)
committerGitHub <noreply@github.com>2018-10-21 12:25:53 (GMT)
commit914f9a078f997e58cfcfabcbb30fafdd1f277bef (patch)
treea9b35e53a19dadceb5b426cd99be74497d7d1ced /Misc
parenta323cdcb33c8c856e5668acfb2c67ab5198672c4 (diff)
downloadcpython-914f9a078f997e58cfcfabcbb30fafdd1f277bef.zip
cpython-914f9a078f997e58cfcfabcbb30fafdd1f277bef.tar.gz
cpython-914f9a078f997e58cfcfabcbb30fafdd1f277bef.tar.bz2
bpo-34973: Fix crash in bytes constructor. (GH-9841)
Constructing bytes from mutating list could cause a crash.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-10-13-16-42-03.bpo-34973.B5M-3g.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-10-13-16-42-03.bpo-34973.B5M-3g.rst b/Misc/NEWS.d/next/Core and Builtins/2018-10-13-16-42-03.bpo-34973.B5M-3g.rst
new file mode 100644
index 0000000..6e403cd
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-10-13-16-42-03.bpo-34973.B5M-3g.rst
@@ -0,0 +1,2 @@
+Fixed crash in :func:`bytes` when the :class:`list` argument is mutated
+while it is iterated.