Skip to content

gh-107916: Save the error code before decoding the filename in PyErr_SetFromErrnoWithFilename() etc #107929

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

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Aug 14, 2023

@serhiy-storchaka serhiy-storchaka force-pushed the capi-save-errno-PyErr_SetFromErrnoWithFilename branch from ad2547a to 9f09cc8 Compare August 19, 2023 12:11
@serhiy-storchaka serhiy-storchaka merged commit 80bdebd into python:main Aug 21, 2023
@miss-islington
Copy link
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the capi-save-errno-PyErr_SetFromErrnoWithFilename branch August 21, 2023 11:16
@bedevere-bot
Copy link

GH-108205 is a backport of this pull request to the 3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 21, 2023
…PyErr_SetFromErrnoWithFilename() etc (pythonGH-107929)

(cherry picked from commit 80bdebd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Aug 21, 2023
@bedevere-bot
Copy link

GH-108206 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 21, 2023
…PyErr_SetFromErrnoWithFilename() etc (pythonGH-107929)

(cherry picked from commit 80bdebd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Aug 21, 2023
serhiy-storchaka added a commit that referenced this pull request Aug 21, 2023
… PyErr_SetFromErrnoWithFilename() etc (GH-107929) (GH-108206)

(cherry picked from commit 80bdebd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Yhg1s pushed a commit that referenced this pull request Aug 21, 2023
… PyErr_SetFromErrnoWithFilename() etc (GH-107929) (#108205)

gh-107916: Save the error code before decoding the filename in PyErr_SetFromErrnoWithFilename() etc (GH-107929)
(cherry picked from commit 80bdebd)

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.

3 participants