mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives (#102816)
This commit is contained in:
parent
3adb23a17d
commit
ad77b80b05
4 changed files with 334 additions and 342 deletions
|
@ -18,7 +18,7 @@
|
|||
#include "pycore_interp.h" // PyInterpreterState.importlib
|
||||
#include "pycore_object.h" // _PyDebug_PrintTotalRefs()
|
||||
#include "pycore_parser.h" // _PyParser_ASTFromString()
|
||||
#include "pycore_pyerrors.h" // _PyErr_Fetch, _Py_Offer_Suggestions
|
||||
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException, _Py_Offer_Suggestions
|
||||
#include "pycore_pylifecycle.h" // _Py_UnhandledKeyboardInterrupt
|
||||
#include "pycore_pystate.h" // _PyInterpreterState_GET()
|
||||
#include "pycore_sysmodule.h" // _PySys_Audit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue