summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-07-19 17:04:47 (GMT)
committerGitHub <noreply@github.com>2022-07-19 17:04:47 (GMT)
commit2d79804bb00908d6563522c86f81128123752c5e (patch)
tree08e706566e4ee54a339250480c8bca0312b16174 /Misc
parent906b345dddb4cc5f72a11a10c4e3f1f7712919c0 (diff)
downloadcpython-2d79804bb00908d6563522c86f81128123752c5e.zip
cpython-2d79804bb00908d6563522c86f81128123752c5e.tar.gz
cpython-2d79804bb00908d6563522c86f81128123752c5e.tar.bz2
GH-91153: Handle mutating __index__ methods in bytearray item assignment (GH-94891)
(cherry picked from commit f36589510b8708fa224d799d5b328deab558aa4e) Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-07-15-16-15-04.gh-issue-91153.HiBmtt.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-07-15-16-15-04.gh-issue-91153.HiBmtt.rst b/Misc/NEWS.d/next/Core and Builtins/2022-07-15-16-15-04.gh-issue-91153.HiBmtt.rst
new file mode 100644
index 0000000..2caa017
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-07-15-16-15-04.gh-issue-91153.HiBmtt.rst
@@ -0,0 +1,2 @@
+Fix an issue where a :class:`bytearray` item assignment could crash if it's
+resized by the new value's :meth:`__index__` method.