mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-106320: Remove private _PyTraceback functions (#108453)
Move private functions to the internal C API (pycore_traceback.h): * _Py_DisplaySourceLine() * _PyTraceback_Add()
This commit is contained in:
parent
d6ac5c7b10
commit
546cab8444
5 changed files with 13 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
|||
#include "Python.h"
|
||||
#include "pycore_dict.h" // _PyDict_GetItemWithError()
|
||||
#include "pycore_frame.h"
|
||||
#include "pycore_initconfig.h"
|
||||
#include "pycore_interp.h" // PyInterpreterState.warnings
|
||||
#include "pycore_long.h" // _PyLong_GetZero()
|
||||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pyerrors.h" // _PyErr_Occurred()
|
||||
#include "pycore_pylifecycle.h" // _Py_IsInterpreterFinalizing()
|
||||
#include "pycore_pystate.h" // _PyThreadState_GET()
|
||||
#include "pycore_sysmodule.h" // _PySys_GetAttr()
|
||||
#include "pycore_traceback.h" // _Py_DisplaySourceLine()
|
||||
|
||||
#include "clinic/_warnings.c.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue