Skip to content

[3.13] gh-130052: Fix search_map_for_section() error handling (GH-132594) - #132598

Merged
vstinner merged 1 commit into
python:3.13from
miss-islington:backport-014c7f9-3.13
Apr 16, 2025
Merged

[3.13] gh-130052: Fix search_map_for_section() error handling (GH-132594)#132598
vstinner merged 1 commit into
python:3.13from
miss-islington:backport-014c7f9-3.13

Conversation

@miss-islington

@miss-islingtonmiss-islington commented Apr 16, 2025

Copy link
Copy Markdown
Contributor
  • Don't call close() if the file descriptor is negative.
  • If close() fails, chain the existing exception.
    (cherry picked from commit 014c7f9)

Co-authored-by: Victor Stinner vstinner@python.org

…H-132594)
* Don't call close() if the file descriptor is negative.
* If close() fails, chain the existing exception.
(cherry picked from commit 014c7f9)
Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@miss-islington@vstinner