X Tutup
Skip to content

[3.12] gh-107913: Fix possible losses of OSError error codes (GH-107930)#108523

Merged
Yhg1s merged 1 commit intopython:3.12from
miss-islington:backport-2b15536-3.12
Aug 26, 2023
Merged

[3.12] gh-107913: Fix possible losses of OSError error codes (GH-107930)#108523
Yhg1s merged 1 commit intopython:3.12from
miss-islington:backport-2b15536-3.12

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 26, 2023

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 2b15536)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…-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 2b15536)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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.

4 participants

X Tutup