diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-01 15:31:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 15:31:45 +0100 |
commit | 8058bdae3e5e1f77a202d9dc907b4189409c9b03 (patch) | |
tree | 737dcb6a5682d6c9a840cf9c145edc88d05e0a48 /Python/pythonrun.c | |
parent | 96d81583be98cec9728636186ea32b662cb091d5 (diff) | |
download | cpython-git-8058bdae3e5e1f77a202d9dc907b4189409c9b03.tar.gz |
bpo-36146: Refactor setup.py: PyBuildExt.add() method (GH-12097)
* Add PyBuildExt.add() which adds the extension directly to
self.extensions, rather than using a temporary 'exts' local
variable in detect_modules() and then add 'exts' to self.extensions
* Convert 'missing' local variable from detect_modules()
into PyBuildExt.missing attribute
* _detect_openssl(), _decimal_ext() and _detect_nis() now call
directly self.add(), rather than returning an extension
(or None if not found).
* Rename _decimal_ext() to _detect_decimal() for consistency with
other methods.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions