summaryrefslogtreecommitdiffstats
path: root/Python/errors.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-08-26 21:35:06 (GMT)
committerGitHub <noreply@github.com>2023-08-26 21:35:06 (GMT)
commit2b15536fa94d07e9e286826c23507402313ec7f4 (patch)
treebed59616b5e2b833e15cc6b10f0dccfca8faa9fb /Python/errors.c
parente407cea1938b80b1d469f148a4ea65587820e3eb (diff)
downloadcpython-2b15536fa94d07e9e286826c23507402313ec7f4.zip
cpython-2b15536fa94d07e9e286826c23507402313ec7f4.tar.gz
cpython-2b15536fa94d07e9e286826c23507402313ec7f4.tar.bz2
gh-107913: Fix possible losses of OSError error codes (GH-107930)
Functions like PyErr_SetFromErrno() and SetFromWindowsErr() should be called immediately after using the C API which sets errno or the Windows error code.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions