Content-Length: 309321 | pFad | https://github.com/python/cpython/issues/100218
adsocket.if_nametoindex('no-such-iface') raises OSError() without setting errno #100218Fetched URL: https://github.com/python/cpython/issues/100218
Alternative Proxies:
I think it's a bug because I can not distinguish from any other OS errors precisely (like EPERM vs ENOENT or so)
Linked PRs
errnowhensocket.if_{nametoindex,indextoname}raiseOSError#140905errnowhensocket.if_{nametoindex,indextoname}raiseOSError(GH-140905) #141284errnowhensocket.if_{nametoindex,indextoname}raiseOSError(GH-140905) #141285