diff options
author | Victor Stinner <vstinner@python.org> | 2025-04-16 13:56:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-16 13:56:58 (GMT) |
commit | 014c7f90478780b18d0e33d456483178c8dcc665 (patch) | |
tree | 6002afe610044b428eb3dbccd3a7091017491780 /Lib/typing.py | |
parent | 7dcaebfb2148a1b972f884733c7babc9b64f2146 (diff) | |
download | cpython-014c7f90478780b18d0e33d456483178c8dcc665.zip cpython-014c7f90478780b18d0e33d456483178c8dcc665.tar.gz cpython-014c7f90478780b18d0e33d456483178c8dcc665.tar.bz2 |
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.
Diffstat (limited to 'Lib/typing.py')
0 files changed, 0 insertions, 0 deletions