Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 9, 2025

Previously, socket.if_nametoindex() and socket.if_indextoname() could raise
an OSError with a None errno. Now, the errno from libc is propagated.
(cherry picked from commit 3ce2d57)

Co-authored-by: Bénédikt Tran 10796600+picnixz@users.noreply.github.com

…ndextoname}` raise `OSError` (pythonGH-140905)

Previously, socket.if_nametoindex() and socket.if_indextoname() could raise
an `OSError` with a `None` errno. Now, the errno from libc is propagated.
(cherry picked from commit 3ce2d57)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@picnixz picnixz enabled auto-merge (squash) November 9, 2025 12:46
@picnixz picnixz disabled auto-merge November 9, 2025 12:52
@picnixz picnixz enabled auto-merge (squash) November 9, 2025 12:52
@picnixz picnixz merged commit d6b4f4b into python:3.14 Nov 9, 2025
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants