Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
CallingPyUnicode_DecodeFSDefault() in C API functionsPyErr_SetFromErrnoWithFilename(),PyErr_SetExcFromWindowsErrWithFilename() andPyErr_SetFromWindowsErrWithFilename() can modify the value oferrno or the result ofGetLastError() which are used in these functions.
Linked PRs
- gh-107916: Save the error code before decoding the filename in PyErr_SetFromErrnoWithFilename() etc #107929
- [3.12] gh-107916: Save the error code before decoding the filename in PyErr_SetFromErrnoWithFilename() etc (GH-107929) #108205
- [3.11] gh-107916: Save the error code before decoding the filename in PyErr_SetFromErrnoWithFilename() etc (GH-107929) #108206