0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Include/internal
Eric Snow 32a67246b0
bpo-46008: Move Py*State init into distinct functions. (gh-29977)
Previously, basic initialization of PyInterprterState happened in PyInterpreterState_New() (along with allocation and adding the new interpreter to the runtime state). This prevented us from initializing interpreter states that were allocated separately (e.g. statically or in a free list). We've addressed that here by factoring out a separate function just for initialization. We've done the same for PyThreadState. _PyRuntimeState was sorted out when we added it since _PyRuntime is statically allocated. However, here we update the existing init code to line up with the functions for PyInterpreterState and PyThreadState.

https://bugs.python.org/issue46008
2021-12-07 18:59:49 -07:00
..
pycore_abstract.h bpo-45636: Simplify BINARY_OP (GH-29565) 2021-11-16 05:53:57 -08:00
pycore_accu.h
pycore_asdl.h bpo-45476: Disallow using asdl_seq_GET() as l-value (GH-29866) 2021-11-30 15:13:55 +01:00
pycore_ast_state.h
pycore_ast.h
pycore_atomic_funcs.h
pycore_atomic.h
pycore_bitutils.h
pycore_blocks_output_buffer.h bpo-44458: Ensure BUFFER_BLOCK_SIZE symbol is statically allocated. (GH-26808) 2021-06-21 23:36:36 -07:00
pycore_bytes_methods.h
pycore_call.h bpo-45439: Move _PyObject_VectorcallTstate() to pycore_call.h (GH-28893) 2021-10-14 21:53:04 +02:00
pycore_ceval.h bpo-46008: Return void from _PyEval_InitState(). (gh-29970) 2021-12-07 14:02:17 -07:00
pycore_code.h bpo-45885: Specialize COMPARE_OP (GH-29734) 2021-12-03 11:29:12 +00:00
pycore_compile.h
pycore_condvar.h
pycore_context.h
pycore_dict.h bpo-45609: Specialize STORE_SUBSCR (GH-29242) 2021-11-19 10:30:37 +00:00
pycore_dtoa.h
pycore_fileutils.h bpo-45582: Port getpath[p].c to Python (GH-29041) 2021-12-03 00:08:42 +00:00
pycore_floatobject.h bpo-35134: Add Include/cpython/floatobject.h (GH-28957) 2021-10-14 23:41:06 +02:00
pycore_format.h
pycore_frame.h bpo-45963: Make space for the InterpreterFrame of a generator in that generator. (GH-29891) 2021-12-06 10:13:49 +00:00
pycore_function.h bpo-44525: Copy free variables in bytecode to allow calls to inner functions to be specialized (GH-29595) 2021-11-23 09:53:24 +00:00
pycore_gc.h bpo-45476: Add _Py_RVALUE() macro (GH-29860) 2021-11-30 12:14:45 +01:00
pycore_getopt.h
pycore_gil.h
pycore_hamt.h
pycore_hashtable.h
pycore_import.h bpo-45395: Make custom frozen modules additions instead of replacements. (gh-28778) 2021-10-28 15:04:33 -06:00
pycore_initconfig.h bpo-45582 Fix prototype of _Py_Get_Getpath_CodeObject. (GH-29907) 2021-12-03 15:21:58 -08:00
pycore_interp.h bpo-46008: Move Py*State init into distinct functions. (gh-29977) 2021-12-07 18:59:49 -07:00
pycore_interpreteridobject.h bpo-35081: Move interpreteridobject.h to Include/internal/ (GH-28969) 2021-10-15 11:56:34 +02:00
pycore_list.h
pycore_long.h bpo-45510: Specialize BINARY_SUBTRACT (GH-29523) 2021-11-18 09:19:58 +00:00
pycore_moduleobject.h
pycore_namespace.h bpo-45482: Rename namespaceobject.h to pycore_namespace.h (GH-28975) 2021-10-15 15:21:21 +02:00
pycore_object.h bpo-45947: Place dict and values pointer at fixed (negative) offset just before GC header. (GH-29879) 2021-12-07 16:02:53 +00:00
pycore_parser.h
pycore_pathconfig.h bpo-45582: Port getpath[p].c to Python (GH-29041) 2021-12-03 00:08:42 +00:00
pycore_pyarena.h
pycore_pyerrors.h bpo-45711: use exc_value instead of exc_type to determine if exc_info is valid. Add more assertions. (GH-29627) 2021-11-25 09:41:28 +00:00
pycore_pyhash.h
pycore_pylifecycle.h Store actual ints, not pointers to them in the interpreter state. (GH-29274) 2021-10-28 17:35:43 +01:00
pycore_pymath.h bpo-45440: Remove pymath.c fallbacks (GH-28977) 2021-10-15 19:45:34 +02:00
pycore_pymem.h bpo-35081: Move interpreteridobject.h to Include/internal/ (GH-28969) 2021-10-15 11:56:34 +02:00
pycore_pystate.h bpo-46008: Add _PyInterpreterState_Main(). (gh-29978) 2021-12-07 18:56:06 -07:00
pycore_runtime.h bpo-46008: Move Py*State init into distinct functions. (gh-29977) 2021-12-07 18:59:49 -07:00
pycore_strhex.h bpo-45434: Remove pystrhex.h header file (GH-28923) 2021-10-13 15:22:35 +02:00
pycore_structseq.h
pycore_symtable.h bpo-44313: generate LOAD_ATTR/CALL_FUNCTION for top-level imported objects (GH-26677) 2021-06-30 23:53:36 +01:00
pycore_sysmodule.h
pycore_traceback.h bpo-45292: [PEP 654] Update traceback display code to work with exception groups (GH-29207) 2021-11-05 09:39:18 +00:00
pycore_tuple.h bpo-45256: Remove the usage of the C stack in Python to Python calls (GH-28488) 2021-10-09 16:51:30 +01:00
pycore_ucnhash.h
pycore_unionobject.h bpo-44654: Do not export the union type related symbols (GH-27223) 2021-07-18 15:55:20 +03:00
pycore_warnings.h bpo-35134: Split warnings.h and weakrefobject.h (GH-29042) 2021-10-19 01:31:57 +02:00