bpo-32232: by default, Setup modules are no longer built with -DPy_BU… · python/cpython@18cd828 (original) (raw)

`@@ -104,33 +104,33 @@ PYTHONPATH=$(COREPYTHONPATH)

`

104

104

`# This only contains the minimal set of modules required to run the

`

105

105

`# setup.py script in the root of the Python source tree.

`

106

106

``

107

``

`-

posix posixmodule.c # posix (UNIX) system calls

`

108

``

`-

errno errnomodule.c # posix (UNIX) errno values

`

109

``

`-

pwd pwdmodule.c # this is needed to find out the user's home dir

`

110

``

`-

if $HOME is not set

`

111

``

`-

_sre _sre.c # Fredrik Lundh's new regular expressions

`

112

``

`-

_codecs _codecsmodule.c # access to the builtin codecs and codec registry

`

113

``

`-

_weakref _weakref.c # weak references

`

114

``

`-

_functools _functoolsmodule.c # Tools for working with functions and callable objects

`

115

``

`-

_operator _operator.c # operator.add() and similar goodies

`

116

``

`-

_collections _collectionsmodule.c # Container types

`

117

``

`-

_abc _abc.c # Abstract base classes

`

118

``

`-

itertools itertoolsmodule.c # Functions creating iterators for efficient looping

`

119

``

`-

atexit atexitmodule.c # Register functions to be run at interpreter-shutdown

`

120

``

`-

_signal signalmodule.c

`

121

``

`-

_stat _stat.c # stat.h interface

`

122

``

`-

time timemodule.c # -lm # time operations and variables

`

123

``

`-

_thread _threadmodule.c # low-level threading interface

`

``

107

`+

posix -DPy_BUILD_CORE posixmodule.c # posix (UNIX) system calls

`

``

108

`+

errno errnomodule.c # posix (UNIX) errno values

`

``

109

`+

pwd pwdmodule.c # this is needed to find out the user's home dir

`

``

110

`+

if $HOME is not set

`

``

111

`+

_sre _sre.c # Fredrik Lundh's new regular expressions

`

``

112

`+

_codecs _codecsmodule.c # access to the builtin codecs and codec registry

`

``

113

`+

_weakref _weakref.c # weak references

`

``

114

`+

_functools -DPy_BUILD_CORE _functoolsmodule.c # Tools for working with functions and callable objects

`

``

115

`+

_operator _operator.c # operator.add() and similar goodies

`

``

116

`+

_collections _collectionsmodule.c # Container types

`

``

117

`+

_abc _abc.c # Abstract base classes

`

``

118

`+

itertools itertoolsmodule.c # Functions creating iterators for efficient looping

`

``

119

`+

atexit atexitmodule.c # Register functions to be run at interpreter-shutdown

`

``

120

`+

_signal -DPy_BUILD_CORE signalmodule.c

`

``

121

`+

_stat _stat.c # stat.h interface

`

``

122

`+

time -DPy_BUILD_CORE timemodule.c # -lm # time operations and variables

`

``

123

`+

_thread -DPy_BUILD_CORE _threadmodule.c # low-level threading interface

`

124

124

``

125

125

`# access to ISO C locale support

`

126

126

`_locale _localemodule.c # -lintl

`

127

127

``

128

128

`# Standard I/O baseline

`

129

``

`-

_io -I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c

`

``

129

`+

_io -DPy_BUILD_CORE -I$(srcdir)/Modules/_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c

`

130

130

``

131

131

`# The zipimport module is always imported at startup. Having it as a

`

132

132

`# builtin module avoids some bootstrapping problems and reduces overhead.

`

133

``

`-

zipimport zipimport.c

`

``

133

`+

zipimport -DPy_BUILD_CORE zipimport.c

`

134

134

``

135

135

`# faulthandler module

`

136

136

`faulthandler faulthandler.c

`