diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2025-02-04 00:05:51 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-04 00:05:51 (GMT) |
| commit | 506c76f1bd252aeefb3b488903a9a1092e55ae04 (patch) | |
| tree | 6f29cf354bc1260c7801b8d6f5483c4d43bff5c8 /PC/python_uwp.cpp | |
| parent | 646bd7958efb52165fd88d3411a323dadd7ae1a0 (diff) | |
| download | cpython-506c76f1bd252aeefb3b488903a9a1092e55ae04.zip cpython-506c76f1bd252aeefb3b488903a9a1092e55ae04.tar.gz cpython-506c76f1bd252aeefb3b488903a9a1092e55ae04.tar.bz2 | |
[3.13] gh-129502: Fix handling errors in ctypes callbacks (GH-129504) (#129517)
gh-129502: Fix handling errors in ctypes callbacks (GH-129504)
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)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'PC/python_uwp.cpp')
0 files changed, 0 insertions, 0 deletions
