#ifndef Py_INTERNAL_AST_STATE_H
#define Py_INTERNAL_AST_STATE_H
-#include "pycore_lock.h" // _PyOnceFlag
+#include "pycore_lock.h" // _PyOnceFlag
#ifdef __cplusplus
extern "C" {
#ifndef Py_INTERNAL_ATEXIT_H
#define Py_INTERNAL_ATEXIT_H
-#include "pycore_lock.h" // PyMutex
-
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include "pycore_llist.h" // struct llist_node
-#include "pycore_lock.h" // PyMutex
#include "pycore_object_stack.h" // _PyObjectStack
#ifdef __cplusplus
# error "this header requires Py_BUILD_CORE define"
#endif
-#include "pycore_lock.h" // PyMutex
#include "pycore_gil.h" // struct _gil_runtime_state
#include "pycore_structs.h" // _Py_CODEUNIT
#include "pycore_stackref.h" // _PyStackRef
-#include "pycore_lock.h" // PyMutex
#include "pycore_backoff.h" // _Py_BackoffCounter
#include "pycore_tstate.h" // _PyThreadStateImpl
#endif
#include "pycore_interp_structs.h" // struct codecs_state
-#include "pycore_lock.h" // PyMutex
/* Initialize codecs-related state for the given interpreter, including
registering the first codec search function. Must be called before any other
# error "this header requires Py_BUILD_CORE define"
#endif
-#include "pycore_lock.h" // PyMutex
+#include "pycore_lock.h" // PyMutex_LockFast()
#include "pycore_pystate.h" // _PyThreadState_GET()
#include <stdint.h>
# error "this header requires Py_BUILD_CORE define"
#endif
-#include "pycore_lock.h" // PyMutex
#include "pycore_pyerrors.h"
extern "C" {
#endif
-#include "pycore_lock.h"
-
#ifndef Py_BUILD_CORE
# error "this header requires Py_BUILD_CORE define"
#endif
#include "pycore_hashtable.h" // _Py_hashtable_t
#include "pycore_interp_structs.h" // _import_state
-#include "pycore_lock.h" // PyMutex
extern int _PyImport_IsInitialized(PyInterpreterState *);
#define Py_INTERNAL_PYMEM_H
#include "pycore_llist.h" // struct llist_node
-#include "pycore_lock.h" // PyMutex
#ifdef __cplusplus
extern "C" {
#include <stdbool.h>
#include <stdint.h>
-#include "pycore_lock.h" // PyMutex
#ifdef __cplusplus
extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
-#include "pycore_lock.h" // PyMutex
#include "pycore_fileutils.h" // _Py_error_handler
#include "pycore_ucnhash.h" // _PyUnicode_Name_CAPI
#include "pycore_global_objects.h" // _Py_SINGLETON
#endif
#include "pycore_critical_section.h" // Py_BEGIN_CRITICAL_SECTION()
-#include "pycore_lock.h"
+#include "pycore_lock.h" // PyMutex_LockFlags()
#include "pycore_object.h" // _Py_REF_IS_MERGED()
#include "pycore_pyatomic_ft_wrappers.h"
#ifndef Py_INTERNAL_AST_STATE_H
#define Py_INTERNAL_AST_STATE_H
- #include "pycore_lock.h" // _PyOnceFlag
+ #include "pycore_lock.h" // _PyOnceFlag
#ifdef __cplusplus
extern "C" {