Repository navigation
Commit b32a2ab
committed
gh-159739: Add a regression test for the _PyTuple_Resize() leak
Check that the items of a non-empty tuple are released when the
reallocation in _PyTuple_Resize() fails.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EyLWRaCmeq66VhJpyTESsw1 parent 29fd3b8 commit b32a2ab
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
330 | 339 | | |
331 | 340 | | |
332 | 341 | | |
| |||
0 commit comments