summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2022-07-19 16:42:40 (GMT)
committerGitHub <noreply@github.com>2022-07-19 16:42:40 (GMT)
commitf36589510b8708fa224d799d5b328deab558aa4e (patch)
tree3a6268e6af9ad9984dbb6a52d13e454582742cab /Misc/NEWS.d
parent3f738600f623b88bc90ec12587f75babb6f1025e (diff)
downloadcpython-f36589510b8708fa224d799d5b328deab558aa4e.zip
cpython-f36589510b8708fa224d799d5b328deab558aa4e.tar.gz
cpython-f36589510b8708fa224d799d5b328deab558aa4e.tar.bz2
GH-91153: Handle mutating __index__ methods in bytearray item assignment (GH-94891)
Diffstat (limited to 'Misc/NEWS.d')
-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.