mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
gh-129354: Use PyErr_FormatUnraisable() function (#129435)
Replace PyErr_WriteUnraisable() with PyErr_FormatUnraisable().
This commit is contained in:
parent
5ab9604683
commit
4e47e05045
9 changed files with 21 additions and 15 deletions
|
@ -563,7 +563,7 @@ _PyJIT_Free(_PyExecutorObject *executor)
|
|||
executor->jit_side_entry = NULL;
|
||||
executor->jit_size = 0;
|
||||
if (jit_free(memory, size)) {
|
||||
PyErr_WriteUnraisable(NULL);
|
||||
PyErr_FormatUnraisable("Exception ignored when freeing JIT memory");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue