@@ -23,26 +23,27 @@ Data members:
23
23
#include "pycore_long.h" // _PY_LONG_MAX_STR_DIGITS_THRESHOLD
24
24
#include "pycore_modsupport.h" // _PyModule_CreateInitialized()
25
25
#include "pycore_namespace.h" // _PyNamespace_New()
26
- #include "pycore_object.h" // _PyObject_IS_GC(), _PyObject_DebugTypeStats()
26
+ #include "pycore_object.h" // _PyObject_DebugTypeStats()
27
27
#include "pycore_pathconfig.h" // _PyPathConfig_ComputeSysPath0()
28
28
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
29
29
#include "pycore_pylifecycle.h" // _PyErr_WriteUnraisableDefaultHook()
30
30
#include "pycore_pymath.h" // _PY_SHORT_FLOAT_REPR
31
31
#include "pycore_pymem.h" // _PyMem_SetDefaultAllocator()
32
32
#include "pycore_pystate.h" // _PyThreadState_GET()
33
33
#include "pycore_structseq.h" // _PyStructSequence_InitBuiltinWithFlags()
34
- #include "pycore_sysmodule.h" // Define _PySys_GetSizeOf()
34
+ #include "pycore_sysmodule.h" // export _PySys_GetSizeOf()
35
35
#include "pycore_tuple.h" // _PyTuple_FromArray()
36
36
37
37
#include "frameobject.h" // PyFrame_FastToLocalsWithError()
38
- #include "pydtrace.h"
38
+ #include "pydtrace.h" // PyDTrace_AUDIT()
39
39
#include "osdefs.h" // DELIM
40
40
#include "stdlib_module_names.h" // _Py_stdlib_module_names
41
+
41
42
#include <locale.h>
42
43
43
44
#ifdef MS_WINDOWS
44
- #define WIN32_LEAN_AND_MEAN
45
- #include <windows.h>
45
+ # define WIN32_LEAN_AND_MEAN
46
+ # include <windows.h>
46
47
#endif /* MS_WINDOWS */
47
48
48
49
#ifdef MS_COREDLL
@@ -52,11 +53,11 @@ extern const char *PyWin_DLLVersionString;
52
53
#endif
53
54
54
55
#ifdef __EMSCRIPTEN__
55
- #include <emscripten.h>
56
+ # include <emscripten.h>
56
57
#endif
57
58
58
59
#ifdef HAVE_FCNTL_H
59
- #include <fcntl.h>
60
+ # include <fcntl.h>
60
61
#endif
61
62
62
63
/*[clinic input]
@@ -66,6 +67,7 @@ module sys
66
67
67
68
#include "clinic/sysmodule.c.h"
68
69
70
+
69
71
PyObject *
70
72
_PySys_GetAttr (PyThreadState * tstate , PyObject * name )
71
73
{
0 commit comments