[3.11] gh-105375: Improve error handling in _ctypes (GH-105593) (#105664)
Prevent repeated PyLong_FromVoidPtr() from possibly overwriting the current exception. (cherry picked from commit e8998e46a7ce8ad336e0941a6da6e50cb88d1e47) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
M
Miss Islington (bot) committed
a03449374ebd5bffe54d3e09d36b54bc605551d8
Parent: 9187747
Committed by GitHub <noreply@github.com>
on 6/11/2023, 8:30:47 PM