Skip to content

Commit e865d0d

Browse files
aiskpicnixz
andauthored
Update Misc/NEWS.d/next/Library/2025-12-15-02-02-45.gh-issue-142555.EC9QN_.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent d0ff678 commit e865d0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Fix null pointer dereference in :class:`!array.array.__setitem__` via
2-
a user-defined ``__index__`` or ``__float__`` method which modifies the array
3-
during index conversion.
1+
:mod:`array`: fix a crash in ``a[i] = v`` when converting *i* to
2+
an index via :meth:`i.__index__ <object.__index__>` or :meth:`i.__float__
3+
<object.__float__>` mutates the array.

0 commit comments

Comments
 (0)