Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f32fa commit d8f530fCopy full SHA for d8f530f
1 file changed
Python/pylifecycle.c
@@ -95,11 +95,16 @@ __attribute__((
95
96
#endif
97
98
+/* Suppress deprecation warning for PyBytesObject.ob_shash */
99
+_Py_COMP_DIAG_PUSH
100
+_Py_COMP_DIAG_IGNORE_DEPR_DECLS
101
_PyRuntimeState _PyRuntime
102
#if defined(__linux__) && (defined(__GNUC__) || defined(__clang__))
103
__attribute__ ((section (".PyRuntime")))
104
105
= _PyRuntimeState_INIT;
106
+_Py_COMP_DIAG_POP
107
+
108
static int runtime_initialized = 0;
109
110
PyStatus
0 commit comments