summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/next/Library/2020-05-27-17-00-18.bpo-40795.eZSnHA.rst
blob: dd02fb05cab5e7a6341e2472c8e3d575266d46bf (plain)
1
2
3
4
:mod:`ctypes` module: If ctypes fails to convert the result of a callback or
if a ctypes callback function raises an exception, sys.unraisablehook is now
called with an exception set. Previously, the error was logged into stderr
by :c:func:`PyErr_Print`.