]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105375: Improve error handling in _ctypes (#105593)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Sun, 11 Jun 2023 19:46:19 +0000 (21:46 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 19:46:19 +0000 (19:46 +0000)
commite8998e46a7ce8ad336e0941a6da6e50cb88d1e47
treead931319b319d055133300de286ef6debfb4786d
parent555be81026fe1205d16c02f6321221381174cd07
gh-105375: Improve error handling in _ctypes (#105593)

Prevent repeated PyLong_FromVoidPtr() from possibly overwriting the
current exception.
Misc/NEWS.d/next/Library/2023-06-09-21-40-45.gh-issue-105375._sZilh.rst [new file with mode: 0644]
Modules/_ctypes/callbacks.c