Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update comment
  • Loading branch information
aisk committed Dec 27, 2025
commit 1befa9853b0d2d7906a4c36e3eba3365764d3ec4
3 changes: 2 additions & 1 deletion Lib/test/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,8 @@ def test_gh_128961(self):

# Tests for NULL pointer dereference in array.__setitem__
# when the index conversion mutates the array.
# See: gh-142555.
# See: github.com/python/cpython/issues/142555.
Comment thread
aisk marked this conversation as resolved.
Outdated

@subTests("dtype", ["b", "B", "h", "H", "i", "l", "q", "I", "L", "Q"])
def test_setitem_use_after_clear_with_int_data(self, dtype):
victim = array.array(dtype, list(range(64)))
Expand Down
Loading