diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2025-02-04 14:04:46 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-04 14:04:46 (GMT) |
| commit | 86451b146ac2a42a2ceb602f9d10c769d39ab69d (patch) | |
| tree | 3ffb52384e1f20e18a1093d0ceed314af2735b9c /Python/pythonrun.c | |
| parent | 4879257d0cb6ea2f6d50a85cec7f5e259483f603 (diff) | |
| download | cpython-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
