]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-130052: Fix search_map_for_section() error handling (#132594)
authorVictor Stinner <vstinner@python.org>
Wed, 16 Apr 2025 13:56:58 +0000 (15:56 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Apr 2025 13:56:58 +0000 (13:56 +0000)
commit014c7f90478780b18d0e33d456483178c8dcc665
tree6002afe610044b428eb3dbccd3a7091017491780
parent7dcaebfb2148a1b972f884733c7babc9b64f2146
gh-130052: Fix search_map_for_section() error handling (#132594)

* Don't call close() if the file descriptor is negative.
* If close() fails, chain the existing exception.
Modules/_testexternalinspection.c