]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-150988: Fix refleak in `OSError` when attrs are set before `super().__init__(...
authorLukas Geiger <lukas.geiger94@gmail.com>
Wed, 10 Jun 2026 12:27:11 +0000 (13:27 +0100)
committerGitHub <noreply@github.com>
Wed, 10 Jun 2026 12:27:11 +0000 (12:27 +0000)
commitf2a0f82282d6307f7fd2d4ccf52a8fd95ac3922f
treedf51e876e624794e4ad4db013dfb0932c7710985
parent3ca93ab198497da9451101019b67c52e7873377d
gh-150988: Fix refleak in `OSError` when attrs are set before `super().__init__()` (#150990)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_exceptions.py
Misc/NEWS.d/next/Core_and_Builtins/2026-06-05-22-52-41.gh-issue-150988.fDKfMJ.rst [new file with mode: 0644]
Objects/exceptions.c