Skip to content

Commit dd86f63

Browse files
authored
bpo-45548: add some missing entries to Modules/Setup (GH-29115)
Also remove a duplicate entry for `_weakref`.
1 parent 876fc7f commit dd86f63

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fill in missing entries in Modules/Setup.

Modules/Setup

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ _symtable symtablemodule.c
171171
#math mathmodule.c _math.c -DPy_BUILD_CORE_MODULE # -lm # math library functions, e.g. sin()
172172
#_contextvars _contextvarsmodule.c # Context Variables
173173
#_struct -DPy_BUILD_CORE_MODULE _struct.c # binary structure packing/unpacking
174-
#_weakref _weakref.c # basic weak reference support
175-
#_testcapi _testcapimodule.c # Python C API test module
174+
#_testcapi _testcapimodule.c # Python C API test module; CANNOT be statically compiled!
176175
#_testinternalcapi _testinternalcapi.c -I$(srcdir)/Include/internal -DPy_BUILD_CORE_MODULE # Python internal C API test module
177176
#_random _randommodule.c -DPy_BUILD_CORE_MODULE # Random number generator
178177
#_elementtree -I$(srcdir)/Modules/expat -DHAVE_EXPAT_CONFIG_H -DUSE_PYEXPAT_CAPI _elementtree.c # elementtree accelerator
@@ -185,6 +184,9 @@ _symtable symtablemodule.c
185184
#_json -I$(srcdir)/Include/internal -DPy_BUILD_CORE_BUILTIN _json.c # _json speedups
186185
#_statistics _statisticsmodule.c # statistics accelerator
187186
#_typing _typingmodule.c # typing accelerator
187+
#_lsprof _lsprof.c rotatingtree.c # cProfile accelerators
188+
#_opcode _opcode.c
189+
#_queue _queuemodule.c -DPy_BUILD_CORE_MODULE
188190

189191
#unicodedata unicodedata.c -DPy_BUILD_CORE_BUILTIN # static Unicode character database
190192

@@ -197,6 +199,7 @@ _symtable symtablemodule.c
197199
#spwd spwdmodule.c # spwd(3)
198200
#grp grpmodule.c # grp(3)
199201
#select selectmodule.c # select(2); not on ancient System V
202+
#ossaudiodev ossaudiodev.c
200203

201204
# Memory-mapped files (also works on Win32).
202205
#mmap mmapmodule.c
@@ -272,6 +275,10 @@ _symtable symtablemodule.c
272275
# _blake module
273276
#_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c -DPy_BUILD_CORE_BUILTIN
274277

278+
# Compression
279+
#_bz2 _bz2module.c -lbz2
280+
#_lzma _lzmamodule.c -llzma
281+
275282
# The _tkinter module.
276283
#
277284
# The command for _tkinter is long and site specific. Please
@@ -373,6 +380,17 @@ _symtable symtablemodule.c
373380
# Another example -- the 'xxsubtype' module shows C-level subtyping in action
374381
xxsubtype xxsubtype.c
375382

383+
# Limited API examples
384+
#xxlimited xxlimited.c
385+
#xxlimited_35 xxlimited_35.c
386+
387+
# For testing
388+
#_xxsubinterpreters _xxsubinterpretersmodule.c
389+
#_xxtestfuzz _xxtestfuzz/_xxtestfuzz.c _xxtestfuzz/fuzzer.c
390+
#_testbuffer _testbuffer.c
391+
#_testimportmultiple _testimportmultiple.c
392+
#_testmultiphase _testmultiphase.c
393+
376394
# Uncommenting the following line tells makesetup that all following modules
377395
# are not built (see above for more detail).
378396
#

0 commit comments

Comments
 (0)