SIGN IN SIGN UP

Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising

new exception with setting current exception as __cause__.

_PyErr_FormatFromCause(exception, format, args...) is equivalent to Python

    raise exception(format % args) from sys.exc_info()[1]
S
Serhiy Storchaka committed
467ab194fc6189d9f7310c89937c51abeac56839
Parent: b0426cd