Visitar URL original
gh-158592: Reallocate the list's array when deleting by index by x42005e1f · Pull Request #158602 · python/cpython · GitHub
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
Add a NEWS entry
  • Loading branch information
x42005e1f committed Oct 2, 2026
commit 093ab9bacf1353b79d7d8a00e6850aaccbb3a2b5
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Fix deletion by index from a :class:`list` (``del list[index]``), which did
not reallocate the underlying array and thus did not free memory (a
regression made in 3.13.0a5).
Comment thread
x42005e1f marked this conversation as resolved.
Outdated
Loading