[Python-checkins] bpo-45548: add some missing entries to `Modules/Setup` (GH-29115)

miss-islington webhook-mailer at python.org
Wed Oct 20 20:34:59 EDT 2021


https://github.com/python/cpython/commit/dd86f63b551c8c255c6d8082c02f35608d294db9
commit: dd86f63b551c8c255c6d8082c02f35608d294db9
branch: main
author: Brett Cannon <brett at python.org>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-10-20T17:34:49-07:00
summary:

bpo-45548: add some missing entries to `Modules/Setup` (GH-29115)



Also remove a duplicate entry for `_weakref`.

files:
A Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst
M Modules/Setup

diff --git a/Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst b/Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst
new file mode 100644
index 0000000000000..a52afa21698f9
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst
@@ -0,0 +1 @@
+Fill in missing entries in Modules/Setup.
diff --git a/Modules/Setup b/Modules/Setup
index ba8c154ee4586..2e44ec24dacdc 100644
--- a/Modules/Setup
+++ b/Modules/Setup
@@ -171,8 +171,7 @@ _symtable symtablemodule.c
 #math mathmodule.c _math.c -DPy_BUILD_CORE_MODULE # -lm # math library functions, e.g. sin()
 #_contextvars _contextvarsmodule.c  # Context Variables
 #_struct -DPy_BUILD_CORE_MODULE _struct.c	# binary structure packing/unpacking
-#_weakref _weakref.c	# basic weak reference support
-#_testcapi _testcapimodule.c    # Python C API test module
+#_testcapi _testcapimodule.c    # Python C API test module; CANNOT be statically compiled!
 #_testinternalcapi _testinternalcapi.c -I$(srcdir)/Include/internal -DPy_BUILD_CORE_MODULE  # Python internal C API test module
 #_random _randommodule.c -DPy_BUILD_CORE_MODULE	# Random number generator
 #_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c	# elementtree accelerator
@@ -185,6 +184,9 @@ _symtable symtablemodule.c
 #_json -I$(srcdir)/Include/internal -DPy_BUILD_CORE_BUILTIN _json.c	# _json speedups
 #_statistics _statisticsmodule.c # statistics accelerator
 #_typing _typingmodule.c # typing accelerator
+#_lsprof _lsprof.c rotatingtree.c # cProfile accelerators
+#_opcode _opcode.c
+#_queue _queuemodule.c -DPy_BUILD_CORE_MODULE
 
 #unicodedata unicodedata.c -DPy_BUILD_CORE_BUILTIN   # static Unicode character database
 
@@ -197,6 +199,7 @@ _symtable symtablemodule.c
 #spwd spwdmodule.c		# spwd(3)
 #grp grpmodule.c		# grp(3)
 #select selectmodule.c	# select(2); not on ancient System V
+#ossaudiodev ossaudiodev.c
 
 # Memory-mapped files (also works on Win32).
 #mmap mmapmodule.c
@@ -272,6 +275,10 @@ _symtable symtablemodule.c
 # _blake module
 #_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c -DPy_BUILD_CORE_BUILTIN
 
+# Compression
+#_bz2 _bz2module.c -lbz2
+#_lzma _lzmamodule.c -llzma
+
 # The _tkinter module.
 #
 # The command for _tkinter is long and site specific.  Please
@@ -373,6 +380,17 @@ _symtable symtablemodule.c
 # Another example -- the 'xxsubtype' module shows C-level subtyping in action
 xxsubtype xxsubtype.c
 
+# Limited API examples
+#xxlimited xxlimited.c
+#xxlimited_35 xxlimited_35.c
+
+# For testing
+#_xxsubinterpreters _xxsubinterpretersmodule.c
+#_xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c
+#_testbuffer _testbuffer.c
+#_testimportmultiple _testimportmultiple.c
+#_testmultiphase _testmultiphase.c
+
 # Uncommenting the following line tells makesetup that all following modules
 # are not built (see above for more detail).
 #



More information about the Python-checkins mailing list