mirror of
https://github.com/python/cpython.git
synced 2026-05-08 05:32:01 -04:00
3e20303717
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.
(cherry picked from commit 2b15536fa9)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miscellaneous source files for the main Python shared library