diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-11-03 07:45:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 07:45:53 (GMT) |
commit | 26c0e5e03a8603eccfd98045bc69fde2e24682e3 (patch) | |
tree | 01d7dc811329b0387323350fa881a3301affe461 /Python | |
parent | 0d3df272fbd131bff7f02d4d4279ad1e35081121 (diff) | |
download | cpython-26c0e5e03a8603eccfd98045bc69fde2e24682e3.zip cpython-26c0e5e03a8603eccfd98045bc69fde2e24682e3.tar.gz cpython-26c0e5e03a8603eccfd98045bc69fde2e24682e3.tar.bz2 |
gh-108082: Remove _PyErr_WriteUnraisableMsg() (GH-111643)
Replace the remaining calls with PyErr_FormatUnraisable().
Diffstat (limited to 'Python')
-rw-r--r-- | Python/errors.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Python/errors.c b/Python/errors.c index 30be7fa..c55ebfd 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -1699,17 +1699,6 @@ format_unraisable(PyObject *obj, const char *format, ...) } void -_PyErr_WriteUnraisableMsg(const char *err_msg_str, PyObject *obj) -{ - if (err_msg_str) { - format_unraisable(obj, "Exception ignored %s", err_msg_str); - } - else { - format_unraisable(obj, NULL); - } -} - -void PyErr_WriteUnraisable(PyObject *obj) { format_unraisable(obj, NULL); |