Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Aug 26, 2023

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>
@Yhg1s Yhg1s merged commit 3e20303 into python:3.12 Aug 26, 2023
23 of 24 checks passed
@miss-islington miss-islington deleted the backport-2b15536-3.12 branch August 26, 2023 23:24
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.

None yet

4 participants