]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-102356: Add thrashcan macros to filter object dealloc (GH-102426)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 5 Mar 2023 11:25:48 +0000 (03:25 -0800)
committerGitHub <noreply@github.com>
Sun, 5 Mar 2023 11:25:48 +0000 (03:25 -0800)
commit63fd95410038d1333da8b514adffdd0f4736aa27
tree2c4049074025c00d16717fff5167e0fc7b1a4185
parentcaff048cb35c9498e95c1e64c507e0c6b7783d7e
gh-102356: Add thrashcan macros to filter object dealloc (GH-102426)

Add thrashcan macros to the deallocator of the filter objects to protect against deeply nested destruction of chains of nested filters.
(cherry picked from commit 66aa78cbe604a7c5731f074b869f92174a8e3b64)

Co-authored-by: Marta Gómez Macías <mgmacias@google.com>
Lib/test/test_builtin.py
Misc/ACKS
Misc/NEWS.d/next/Core and Builtins/2023-03-04-20-56-12.gh-issue-102356.07KvUd.rst [new file with mode: 0644]
Python/bltinmodule.c