forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-107916: Save the error code before decoding the filename in …
…PyErr_SetFromErrnoWithFilename() etc (pythonGH-107929) (cherry picked from commit 80bdebd) Co-authored-by: Serhiy Storchaka <[email protected]>
- Loading branch information
1 parent
f2cc005
commit 1846540
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
Misc/NEWS.d/next/C API/2023-08-14-10-59-03.gh-issue-107916.KH4Muo.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
C API functions :c:func:`PyErr_SetFromErrnoWithFilename`, | ||
:c:func:`PyErr_SetExcFromWindowsErrWithFilename` and | ||
:c:func:`PyErr_SetFromWindowsErrWithFilename` save now the error code before | ||
calling :c:func:`PyUnicode_DecodeFSDefault`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters