From 173717c76b2eaf91755e553298533bc12177ef24 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 20 Oct 2021 17:00:29 -0700 Subject: [PATCH 1/2] bpo-45548: fill in some gaps in `Modules/Setup` Also remove a duplicate entry for `_weakref`. --- Modules/Setup | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/Modules/Setup b/Modules/Setup index 5e26472446677a..16cf9da614bdb1 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 @@ -268,6 +271,10 @@ _symtable symtablemodule.c # _blake module #_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c +# Compression +#_bz2 _bz2module.c -lbz2 +#_lzma _lzmamodule.c -llzma + # The _tkinter module. # # The command for _tkinter is long and site specific. Please @@ -369,6 +376,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). # From 7ffb311a9c05f8a377fb111cb0bde89e4d6043e7 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 20 Oct 2021 17:03:07 -0700 Subject: [PATCH 2/2] Add a news entry --- Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Build/2021-10-20-17-02-56.bpo-45548.BoggEf.rst 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 00000000000000..a52afa21698f96 --- /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.