diff options
author | Christian Heimes <christian@python.org> | 2021-10-29 15:49:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 15:49:57 (GMT) |
commit | f0150ac94a85c863ec1dcb58b9e33ed7ce465ec8 (patch) | |
tree | 0af6f5979b7f5a9e75db0b4aa57abf4b15e7e2ef /Doc | |
parent | d9575218d7ab3d85b15ce3d4779660b9b724d343 (diff) | |
download | cpython-f0150ac94a85c863ec1dcb58b9e33ed7ce465ec8.zip cpython-f0150ac94a85c863ec1dcb58b9e33ed7ce465ec8.tar.gz cpython-f0150ac94a85c863ec1dcb58b9e33ed7ce465ec8.tar.bz2 |
bpo-45548: Some test modules must be built as shared libs (GH-29268)
Some test cases don't work when test modules are static extensions.
Add dependency on Modules/config.c to trigger a rebuild whenever a
module build type is changed.
``makesetup`` puts shared extensions into ``Modules/`` directory. Create
symlinks from pybuilddir so the extensions can be imported.
Note: It is not possible to use the content of pybuilddir.txt as a build
target. Makefile evaluates target variables in the first pass. The
pybuilddir.txt file does not exist at that point.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 21ad466..156bfbd 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -507,6 +507,13 @@ Build Changes except empty tuple singleton. (Contributed by Christian Heimes in :issue:`45522`) +* ``Modules/Setup`` and ``Modules/makesetup`` have been improved and tied up. + Extension modules can now be built through ``makesetup``. All except some + test modules can be linked statically into main binary or library. + (Contributed by Brett Cannon and Christian Heimes in :issue:`45548`, + :issue:`45570`, :issue:`45571`, and :issue:`43974`.) + + C API Changes ============= |