bpo-40137: Add pycore_moduleobject.h internal header (GH-25507) · python/cpython@cdad272
@@ -105,13 +105,13 @@ posix -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal posixmodule.c # posix
105105errno errnomodule.c # posix (UNIX) errno values
106106pwd pwdmodule.c # this is needed to find out the user's home dir
107107# if $HOME is not set
108-_sre _sre.c # Fredrik Lundh's new regular expressions
108+_sre -DPy_BUILD_CORE_BUILTIN _sre.c # Fredrik Lundh's new regular expressions
109109_codecs _codecsmodule.c # access to the builtin codecs and codec registry
110110_weakref _weakref.c # weak references
111111_functools -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal _functoolsmodule.c # Tools for working with functions and callable objects
112-_operator _operator.c # operator.add() and similar goodies
112+_operator -DPy_BUILD_CORE_BUILTIN _operator.c # operator.add() and similar goodies
113113_collections _collectionsmodule.c # Container types
114-_abc _abc.c # Abstract base classes
114+_abc -DPy_BUILD_CORE_BUILTIN _abc.c # Abstract base classes
115115itertools itertoolsmodule.c # Functions creating iterators for efficient looping
116116atexit atexitmodule.c # Register functions to be run at interpreter-shutdown
117117_signal -DPy_BUILD_CORE_BUILTIN -I$(srcdir)/Include/internal signalmodule.c
@@ -166,17 +166,17 @@ _symtable symtablemodule.c
166166167167# Modules that should always be present (non UNIX dependent):
168168169-#array arraymodule.c # array objects
169+#array -DPy_BUILD_CORE_MODULE arraymodule.c # array objects
170170#cmath cmathmodule.c _math.c -DPy_BUILD_CORE_MODULE # -lm # complex math library functions
171171#math mathmodule.c _math.c -DPy_BUILD_CORE_MODULE # -lm # math library functions, e.g. sin()
172172#_contextvars _contextvarsmodule.c # Context Variables
173-#_struct _struct.c # binary structure packing/unpacking
173+#_struct -DPy_BUILD_CORE_MODULE _struct.c # binary structure packing/unpacking
174174#_weakref _weakref.c # basic weak reference support
175175#_testcapi _testcapimodule.c # Python C API test module
176176#_testinternalcapi _testinternalcapi.c -I$(srcdir)/Include/internal -DPy_BUILD_CORE_MODULE # Python internal C API test module
177177#_random _randommodule.c -DPy_BUILD_CORE_MODULE # Random number generator
178178#_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator
179-#_pickle _pickle.c # pickle accelerator
179+#_pickle -DPy_BUILD_CORE_MODULE _pickle.c # pickle accelerator
180180#_datetime _datetimemodule.c # datetime accelerator
181181#_zoneinfo _zoneinfo.c -DPy_BUILD_CORE_MODULE # zoneinfo accelerator
182182#_bisect _bisectmodule.c # Bisection algorithms