gh-100218: correctly set `errno` when `socket.if_{nametoindex,indextoname}` raise `OSError` (#140905)
Previously, socket.if_nametoindex() and socket.if_indextoname() could raise an `OSError` with a `None` errno. Now, the errno from libc is propagated.
B
Bénédikt Tran committed
3ce2d57b2f02030353af314d89c5f6215d2f5c96
Parent: 0c77e7c
Committed by GitHub <noreply@github.com>
on 11/9/2025, 12:45:38 PM