golden hour
/opt/saltstack/salt/include/python3.10/internal
⬆️ Go Up
Upload
File/Folder
Size
Actions
pycore_abstract.h
479 B
Del
OK
pycore_accu.h
1.1 KB
Del
OK
pycore_asdl.h
2.9 KB
Del
OK
pycore_ast.h
28.15 KB
Del
OK
pycore_ast_state.h
6.31 KB
Del
OK
pycore_atomic.h
16.58 KB
Del
OK
pycore_atomic_funcs.h
2.38 KB
Del
OK
pycore_bitutils.h
5.15 KB
Del
OK
pycore_blocks_output_buffer.h
8.48 KB
Del
OK
pycore_bytes_methods.h
3.3 KB
Del
OK
pycore_call.h
870 B
Del
OK
pycore_ceval.h
3.4 KB
Del
OK
pycore_code.h
696 B
Del
OK
pycore_compile.h
1.02 KB
Del
OK
pycore_condvar.h
2.74 KB
Del
OK
pycore_context.h
822 B
Del
OK
pycore_dtoa.h
646 B
Del
OK
pycore_fileutils.h
1.66 KB
Del
OK
pycore_format.h
480 B
Del
OK
pycore_gc.h
6.7 KB
Del
OK
pycore_getopt.h
490 B
Del
OK
pycore_gil.h
1.53 KB
Del
OK
pycore_hamt.h
3.61 KB
Del
OK
pycore_hashtable.h
4.1 KB
Del
OK
pycore_import.h
346 B
Del
OK
pycore_initconfig.h
5.49 KB
Del
OK
pycore_interp.h
9.07 KB
Del
OK
pycore_list.h
350 B
Del
OK
pycore_long.h
2.53 KB
Del
OK
pycore_moduleobject.h
1.02 KB
Del
OK
pycore_object.h
5.85 KB
Del
OK
pycore_parser.h
626 B
Del
OK
pycore_pathconfig.h
1.93 KB
Del
OK
pycore_pyarena.h
2.67 KB
Del
OK
pycore_pyerrors.h
2.26 KB
Del
OK
pycore_pyhash.h
206 B
Del
OK
pycore_pylifecycle.h
4.82 KB
Del
OK
pycore_pymem.h
3.14 KB
Del
OK
pycore_pystate.h
3.85 KB
Del
OK
pycore_runtime.h
4.79 KB
Del
OK
pycore_structseq.h
386 B
Del
OK
pycore_symtable.h
5.45 KB
Del
OK
pycore_sysmodule.h
548 B
Del
OK
pycore_traceback.h
2.9 KB
Del
OK
pycore_tuple.h
425 B
Del
OK
pycore_ucnhash.h
898 B
Del
OK
pycore_unionobject.h
629 B
Del
OK
pycore_warnings.h
633 B
Del
OK
Edit: pycore_traceback.h
#ifndef Py_INTERNAL_TRACEBACK_H #define Py_INTERNAL_TRACEBACK_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif /* Forward declaration */ struct _is; /* Write the Python traceback into the file 'fd'. For example: Traceback (most recent call first): File "xxx", line xxx in <xxx> File "xxx", line xxx in <xxx> ... File "xxx", line xxx in <xxx> This function is written for debug purpose only, to dump the traceback in the worst case: after a segmentation fault, at fatal error, etc. That's why, it is very limited. Strings are truncated to 100 characters and encoded to ASCII with backslashreplace. It doesn't write the source code, only the function name, filename and line number of each frame. Write only the first 100 frames: if the traceback is truncated, write the line " ...". This function is signal safe. */ PyAPI_FUNC(void) _Py_DumpTraceback( int fd, PyThreadState *tstate); /* Write the traceback of all threads into the file 'fd'. current_thread can be NULL. Return NULL on success, or an error message on error. This function is written for debug purpose only. It calls _Py_DumpTraceback() for each thread, and so has the same limitations. It only write the traceback of the first 100 threads: write "..." if there are more threads. If current_tstate is NULL, the function tries to get the Python thread state of the current thread. It is not an error if the function is unable to get the current Python thread state. If interp is NULL, the function tries to get the interpreter state from the current Python thread state, or from _PyGILState_GetInterpreterStateUnsafe() in last resort. It is better to pass NULL to interp and current_tstate, the function tries different options to retrieve this information. This function is signal safe. */ PyAPI_FUNC(const char*) _Py_DumpTracebackThreads( int fd, struct _is *interp, PyThreadState *current_tstate); /* Write a Unicode object into the file descriptor fd. Encode the string to ASCII using the backslashreplace error handler. Do nothing if text is not a Unicode object. The function accepts Unicode string which is not ready (PyUnicode_WCHAR_KIND). This function is signal safe. */ PyAPI_FUNC(void) _Py_DumpASCII(int fd, PyObject *text); /* Format an integer as decimal into the file descriptor fd. This function is signal safe. */ PyAPI_FUNC(void) _Py_DumpDecimal( int fd, size_t value); /* Format an integer as hexadecimal with width digits into fd file descriptor. The function is signal safe. */ PyAPI_FUNC(void) _Py_DumpHexadecimal( int fd, uintptr_t value, Py_ssize_t width); PyAPI_FUNC(PyObject*) _PyTraceBack_FromFrame( PyObject *tb_next, PyFrameObject *frame); #ifdef __cplusplus } #endif #endif /* !Py_INTERNAL_TRACEBACK_H */
Save