mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-76785: Rename _xxsubinterpreters to _interpreters (gh-117791)
See https://discuss.python.org/t/pep-734-multiple-interpreters-in-the-stdlib/41147/26.
This commit is contained in:
parent
af3c1d817d
commit
03e3e31723
34 changed files with 546 additions and 539 deletions
|
|
@ -137,6 +137,9 @@ PYTHONPATH=$(COREPYTHONPATH)
|
|||
#_datetime _datetimemodule.c
|
||||
#_decimal _decimal/_decimal.c
|
||||
#_heapq _heapqmodule.c
|
||||
#_interpchannels _interpchannelsmodule.c
|
||||
#_interpqueues _interpqueuesmodule.c
|
||||
#_interpreters _interpretersmodule.c
|
||||
#_json _json.c
|
||||
#_lsprof _lsprof.c rotatingtree.c
|
||||
#_multiprocessing -I$(srcdir)/Modules/_multiprocessing _multiprocessing/multiprocessing.c _multiprocessing/semaphore.c
|
||||
|
|
@ -271,9 +274,6 @@ PYTHONPATH=$(COREPYTHONPATH)
|
|||
|
||||
# Testing
|
||||
|
||||
#_xxsubinterpreters _xxsubinterpretersmodule.c
|
||||
#_xxinterpchannels _xxinterpchannelsmodule.c
|
||||
#_xxinterpqueues _xxinterpqueuesmodule.c
|
||||
#_xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c
|
||||
#_testbuffer _testbuffer.c
|
||||
#_testinternalcapi _testinternalcapi.c
|
||||
|
|
|
|||
|
|
@ -43,9 +43,10 @@
|
|||
@MODULE__STRUCT_TRUE@_struct _struct.c
|
||||
|
||||
# build supports subinterpreters
|
||||
@MODULE__XXSUBINTERPRETERS_TRUE@_xxsubinterpreters _xxsubinterpretersmodule.c
|
||||
@MODULE__XXINTERPCHANNELS_TRUE@_xxinterpchannels _xxinterpchannelsmodule.c
|
||||
@MODULE__XXINTERPQUEUES_TRUE@_xxinterpqueues _xxinterpqueuesmodule.c
|
||||
@MODULE__INTERPRETERS_TRUE@_interpreters _interpretersmodule.c
|
||||
@MODULE__INTERPCHANNELS_TRUE@_interpchannels _interpchannelsmodule.c
|
||||
@MODULE__INTERPQUEUES_TRUE@_interpqueues _interpqueuesmodule.c
|
||||
|
||||
@MODULE__ZONEINFO_TRUE@_zoneinfo _zoneinfo.c
|
||||
|
||||
# needs libm
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ channel's queue, which are safely managed via the _PyCrossInterpreterData_*()
|
|||
API.. The module does not create any objects that are shared globally.
|
||||
*/
|
||||
|
||||
#define MODULE_NAME _xxinterpchannels
|
||||
#define MODULE_NAME _interpchannels
|
||||
#define MODULE_NAME_STR Py_STRINGIFY(MODULE_NAME)
|
||||
#define MODINIT_FUNC_NAME RESOLVE_MODINIT_FUNC_NAME(MODULE_NAME)
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
#undef REGISTERS_HEAP_TYPES
|
||||
|
||||
|
||||
#define MODULE_NAME _xxinterpqueues
|
||||
#define MODULE_NAME _interpqueues
|
||||
#define MODULE_NAME_STR Py_STRINGIFY(MODULE_NAME)
|
||||
#define MODINIT_FUNC_NAME RESOLVE_MODINIT_FUNC_NAME(MODULE_NAME)
|
||||
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
#include "_interpreters_common.h"
|
||||
|
||||
|
||||
#define MODULE_NAME _xxsubinterpreters
|
||||
#define MODULE_NAME _interpreters
|
||||
#define MODULE_NAME_STR Py_STRINGIFY(MODULE_NAME)
|
||||
#define MODINIT_FUNC_NAME RESOLVE_MODINIT_FUNC_NAME(MODULE_NAME)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue