summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2025-02-04 14:04:46 (GMT)
committerGitHub <noreply@github.com>2025-02-04 14:04:46 (GMT)
commit86451b146ac2a42a2ceb602f9d10c769d39ab69d (patch)
tree3ffb52384e1f20e18a1093d0ceed314af2735b9c /Python/pythonrun.c
parent4879257d0cb6ea2f6d50a85cec7f5e259483f603 (diff)
downloadcpython-86451b146ac2a42a2ceb602f9d10c769d39ab69d.zip
cpython-86451b146ac2a42a2ceb602f9d10c769d39ab69d.tar.gz
cpython-86451b146ac2a42a2ceb602f9d10c769d39ab69d.tar.bz2
[3.12] gh-129502: Fix handling errors in ctypes callbacks (GH-129504) (#129639)
Unlikely errors in preparing arguments for ctypes callback are now handled in the same way as errors raised in the callback of in converting the result of the callback -- using sys.unraisablehook() instead of sys.excepthook() and not setting sys.last_exc and other variables. (cherry picked from commit 9d63ae5fe52d95059ab1bcd4cbb1f9e17033c897)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions