diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2022-07-19 16:42:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-19 16:42:40 (GMT) |
commit | f36589510b8708fa224d799d5b328deab558aa4e (patch) | |
tree | 3a6268e6af9ad9984dbb6a52d13e454582742cab /Misc/NEWS.d | |
parent | 3f738600f623b88bc90ec12587f75babb6f1025e (diff) | |
download | cpython-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.rst | 2 |
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. |