mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.10] bpo-45688: Add _scproxy to sys.stdlib_module_names (GH-29358) (GH-29361)
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
ed34965d66
commit
b2ae631619
3 changed files with 8 additions and 1 deletions
|
|
@ -51,6 +51,10 @@
|
|||
'winsound'
|
||||
)
|
||||
|
||||
# macOS extension modules
|
||||
MACOS_MODULES = (
|
||||
'_scproxy',
|
||||
)
|
||||
|
||||
# Pure Python modules (Lib/*.py)
|
||||
def list_python_modules(names):
|
||||
|
|
@ -123,7 +127,7 @@ def list_frozen(names):
|
|||
|
||||
|
||||
def list_modules():
|
||||
names = set(sys.builtin_module_names) | set(WINDOWS_MODULES)
|
||||
names = set(sys.builtin_module_names) | set(WINDOWS_MODULES) | set(MACOS_MODULES)
|
||||
list_modules_setup_extensions(names)
|
||||
list_setup_extensions(names)
|
||||
list_packages(names)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue