[3.13] gh-130052: Fix search_map_for_section() error handling (GH-132594) (#132598)
gh-130052: Fix search_map_for_section() error handling (GH-132594) * Don't call close() if the file descriptor is negative. * If close() fails, chain the existing exception. (cherry picked from commit 014c7f90478780b18d0e33d456483178c8dcc665) Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
ff3f6588c3ecb6746a33f14030a90eb32467eece
Parent: ee8f681
Committed by GitHub <noreply@github.com>
on 4/16/2025, 2:21:58 PM