gh-107913: Fix possible losses of OSError error codes (GH-107930)
Functions like PyErr_SetFromErrno() and SetFromWindowsErr() should be called immediately after using the C API which sets errno or the Windows error code.
S
Serhiy Storchaka committed
2b15536fa94d07e9e286826c23507402313ec7f4
Parent: e407cea
Committed by GitHub <noreply@github.com>
on 8/26/2023, 9:35:06 PM