diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-10-21 12:56:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-21 12:56:10 (GMT) |
commit | 8bb037167cf3204a7d620ba11fbf43d2a9ec36e6 (patch) | |
tree | 37acfe5845860d39aada14c730f030fcfe701abb /Misc/NEWS.d | |
parent | beb83d013e0295c987087febf2be78b1da389b15 (diff) | |
download | cpython-8bb037167cf3204a7d620ba11fbf43d2a9ec36e6.zip cpython-8bb037167cf3204a7d620ba11fbf43d2a9ec36e6.tar.gz cpython-8bb037167cf3204a7d620ba11fbf43d2a9ec36e6.tar.bz2 |
bpo-34973: Fix crash in bytes constructor. (GH-9841)
Constructing bytes from mutating list could cause a crash.
(cherry picked from commit 914f9a078f997e58cfcfabcbb30fafdd1f277bef)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-10-13-16-42-03.bpo-34973.B5M-3g.rst | 2 |
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. |