#include "pythread.h"
#include "pycore_ceval.h"
-#include "pycore_mem.h"
#include "pycore_pathconfig.h"
+#include "pycore_pymem.h"
#include "pycore_warnings.h"
/* Get the current Python thread state.
Macro using PyThreadState_Get() or _PyThreadState_GET() depending if
- pycore_state.h is included or not (this header redefines the macro).
+ pycore_pystate.h is included or not (this header redefines the macro).
If PyThreadState_Get() is used, issue a fatal error if the current thread
state is NULL.
$(srcdir)/Include/internal/pycore_accu.h \
$(srcdir)/Include/internal/pycore_atomic.h \
$(srcdir)/Include/internal/pycore_ceval.h \
+ $(srcdir)/Include/internal/pycore_condvar.h \
$(srcdir)/Include/internal/pycore_context.h \
$(srcdir)/Include/internal/pycore_getopt.h \
$(srcdir)/Include/internal/pycore_gil.h \
- $(srcdir)/Include/internal/pycore_lifecycle.h \
- $(srcdir)/Include/internal/pycore_mem.h \
+ $(srcdir)/Include/internal/pycore_hamt.h \
$(srcdir)/Include/internal/pycore_pathconfig.h \
- $(srcdir)/Include/internal/pycore_state.h \
+ $(srcdir)/Include/internal/pycore_pyhash.h \
+ $(srcdir)/Include/internal/pycore_pylifecycle.h \
+ $(srcdir)/Include/internal/pycore_pymem.h \
+ $(srcdir)/Include/internal/pycore_pystate.h \
$(srcdir)/Include/internal/pycore_warnings.h \
$(DTRACE_HEADERS)
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "structmember.h"
/* _functools module written and maintained
#define PY_SSIZE_T_CLEAN
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "structmember.h"
#include "pythread.h"
#include "_iomodule.h"
/* Interface to Sjoerd's portable C thread library */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "structmember.h" /* offsetof */
#include "pythread.h"
#include "Python.h"
#include "frameobject.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
static char *
#include "Python.h"
#include "pycore_context.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "frameobject.h" /* for PyFrame_ClearFreeList */
#include "pydtrace.h"
#include "pytime.h" /* for _PyTime_GetMonotonicClock() */
#include "osdefs.h"
#include "pycore_fileutils.h"
#include "pycore_pathconfig.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include <sys/types.h>
#include <string.h>
#include "Python.h"
#include "osdefs.h"
#include "pycore_getopt.h"
-#include "pycore_lifecycle.h"
-#include "pycore_mem.h"
#include "pycore_pathconfig.h"
-#include "pycore_state.h"
+#include "pycore_pylifecycle.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include <locale.h>
#else
#include "winreparse.h"
#endif
-#include "pycore_state.h"
+#include "pycore_pystate.h"
/* On android API level 21, 'AT_EACCESS' is not declared although
* HAVE_FACCESSAT is defined. */
/* Abstract Object Interface (many thanks to Jim Fulton) */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include <ctype.h>
#include "structmember.h" /* we need the offsetof() macro from there */
#include "longintrepr.h"
#define PY_SSIZE_T_CLEAN
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "structmember.h"
#include "bytes_methods.h"
#include "bytesobject.h"
#define PY_SSIZE_T_CLEAN
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "bytes_methods.h"
#include "pystrhex.h"
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "frameobject.h"
/* Cell object implementation */
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
PyObject *
PyCell_New(PyObject *obj)
/* Class object implementation (dead now except for methods) */
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "structmember.h"
#define TP_DESCR_GET(t) ((t)->tp_descr_get)
#include "Python.h"
#include "code.h"
#include "structmember.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
/* Holder for co_extra information */
typedef struct {
/* Descriptors -- a new, flexible way to describe attributes */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "structmember.h" /* Why is this not included in Python.h? */
/*[clinic input]
#define PyDict_MINSIZE 8
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "dict-common.h"
#include "stringlib/eq.h" /* to get unicode_eq() */
#define PY_SSIZE_T_CLEAN
#include <Python.h>
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "structmember.h"
#include "osdefs.h"
/* Frame object implementation */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "code.h"
#include "frameobject.h"
/* Function object implementation */
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "code.h"
#include "structmember.h"
/* Generator object implementation */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "frameobject.h"
#include "structmember.h"
#include "opcode.h"
/* Iterator objects */
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
typedef struct {
PyObject_HEAD
/* List object implementation */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "pycore_accu.h"
#ifdef STDC_HEADERS
/* Memoryview object implementation */
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "pystrhex.h"
#include <stddef.h>
/* Method object implementation */
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "structmember.h"
/* Free list for method objects to safe malloc/free overhead
/* Module object implementation */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "structmember.h"
static Py_ssize_t max_module_number;
/* Generic object operations; and implementation of None */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "pycore_context.h"
#include "frameobject.h"
#include "Python.h"
-#include "pycore_mem.h"
+#include "pycore_pymem.h"
#include <stdbool.h>
*/
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "structmember.h"
#include "dict-common.h"
#include <stddef.h>
*/
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "structmember.h"
/* Object used as dummy key to fill deleted entries */
*/
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "structmember.h"
static PyObject *
/* Tuple object implementation */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "pycore_accu.h"
/*[clinic input]
/* Type object implementation */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "frameobject.h"
#include "structmember.h"
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "pycore_fileutils.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "ucnhash.h"
#include "bytes_methods.h"
#include "stringlib/eq.h"
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "osdefs.h"
#include <wchar.h>
<ClInclude Include="..\Include\internal\pycore_getopt.h" />
<ClInclude Include="..\Include\internal\pycore_gil.h" />
<ClInclude Include="..\Include\internal\pycore_hamt.h" />
- <ClInclude Include="..\Include\internal\pycore_lifecycle.h" />
- <ClInclude Include="..\Include\internal\pycore_mem.h" />
<ClInclude Include="..\Include\internal\pycore_pathconfig.h" />
- <ClInclude Include="..\Include\internal\pycore_state.h" />
+ <ClInclude Include="..\Include\internal\pycore_pyhash.h" />
+ <ClInclude Include="..\Include\internal\pycore_pylifecycle.h" />
+ <ClInclude Include="..\Include\internal\pycore_pymem.h" />
+ <ClInclude Include="..\Include\internal\pycore_pystate.h" />
<ClInclude Include="..\Include\internal\pycore_warnings.h" />
<ClInclude Include="..\Include\intrcheck.h" />
<ClInclude Include="..\Include\iterobject.h" />
<ClInclude Include="..\Include\internal\pycore_hamt.h">
<Filter>Include</Filter>
</ClInclude>
- <ClInclude Include="..\Include\internal\pycore_lifecycle.h">
+ <ClInclude Include="..\Include\internal\pycore_pathconfig.h">
<Filter>Include</Filter>
</ClInclude>
- <ClInclude Include="..\Include\internal\pycore_mem.h">
+ <ClInclude Include="..\Include\internal\pycore_pyhash.h">
<Filter>Include</Filter>
</ClInclude>
- <ClInclude Include="..\Include\internal\pycore_pathconfig.h">
+ <ClInclude Include="..\Include\internal\pycore_pylifecycle.h">
+ <Filter>Include</Filter>
+ </ClInclude>
+ <ClInclude Include="..\Include\internal\pycore_pymem.h">
<Filter>Include</Filter>
</ClInclude>
- <ClInclude Include="..\Include\internal\pycore_state.h">
+ <ClInclude Include="..\Include\internal\pycore_pystate.h">
<Filter>Include</Filter>
</ClInclude>
<ClInclude Include="..\Include\internal\pycore_warnings.h">
*/
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#ifdef MS_WINDOWS
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#define PGEN
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "pgenheaders.h"
#include "grammar.h"
#include "node.h"
/* Minimal main program -- everything is loaded from the library */
#include "Python.h"
-#include "pycore_lifecycle.h"
+#include "pycore_pylifecycle.h"
#ifdef MS_WINDOWS
int
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "frameobject.h"
#include "clinic/_warnings.c.h"
#include "Python.h"
#include <ctype.h>
#include "ast.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
_Py_IDENTIFIER(__builtins__);
_Py_IDENTIFIER(__dict__);
#define PY_LOCAL_AGGRESSIVE
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "code.h"
#include "dictobject.h"
------------------------------------------------------------------------ */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "ucnhash.h"
#include <ctype.h>
#include "Python.h"
#include "structmember.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "pycore_context.h"
#include "pycore_hamt.h"
#include "Python.h"
#include "pycore_fileutils.h"
-#include "pycore_lifecycle.h"
-#include "pycore_mem.h"
+#include "pycore_pylifecycle.h"
+#include "pycore_pymem.h"
#include "pycore_pathconfig.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include <locale.h>
#ifdef HAVE_LANGINFO_H
# include <langinfo.h>
/* Support for dynamic loading of extension modules */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "importdl.h"
#include <sys/types.h>
/* Error handling */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#ifndef __STDC__
#ifndef MS_WINDOWS
/* Python interpreter main program for frozen scripts */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include <locale.h>
#ifdef MS_WINDOWS
#include "Python.h"
#include "structmember.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "pycore_hamt.h"
/*
#include "Python.h"
#include "Python-ast.h"
-#include "pycore_hash.h"
-#include "pycore_lifecycle.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pyhash.h"
+#include "pycore_pylifecycle.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "errcode.h"
#include "marshal.h"
#include "code.h"
#include "Python.h"
#include "osdefs.h"
-#include "pycore_mem.h"
#include "pycore_fileutils.h"
#include "pycore_pathconfig.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include <wchar.h>
#ifdef __cplusplus
#include "Python-ast.h"
#include "pycore_context.h"
#include "pycore_hamt.h"
-#include "pycore_lifecycle.h"
-#include "pycore_mem.h"
#include "pycore_pathconfig.h"
-#include "pycore_state.h"
+#include "pycore_pylifecycle.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#include "grammar.h"
#include "node.h"
#include "token.h"
/* Thread and interpreter state structures and their interfaces */
#include "Python.h"
-#include "pycore_mem.h"
-#include "pycore_state.h"
+#include "pycore_pymem.h"
+#include "pycore_pystate.h"
#define _PyThreadState_SET(value) \
_Py_atomic_store_relaxed(&_PyRuntime.gilstate.tstate_current, \
#include "Python.h"
#include "Python-ast.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "grammar.h"
#include "node.h"
#include "token.h"
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "symtable.h"
#include "structmember.h"
#include "Python.h"
#include "code.h"
#include "frameobject.h"
-#include "pycore_lifecycle.h"
-#include "pycore_mem.h"
+#include "pycore_pylifecycle.h"
+#include "pycore_pymem.h"
#include "pycore_pathconfig.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "pythread.h"
#include "osdefs.h"
Stuff shared by all thread_*.h files is collected here. */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#ifndef _POSIX_THREADS
/* This means pthreads are not implemented in libc headers, hence the macro
/* Traceback implementation */
#include "Python.h"
-#include "pycore_state.h"
+#include "pycore_pystate.h"
#include "code.h"
#include "frameobject.h"