mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-92584: Remove the distutils package (#99061)
Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 "Deprecate distutils module". For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. * Remove Lib/distutils/ directory * Remove test_distutils * Remove references to distutils * Skip test_check_c_globals and test_peg_generator since they use distutils
This commit is contained in:
parent
b07f546ea3
commit
0faa0ba240
113 changed files with 26 additions and 22834 deletions
|
@ -157,7 +157,7 @@ functions.
|
|||
|
||||
- Threading is disabled by default. The ``configure`` option
|
||||
``--enable-wasm-pthreads`` adds compiler flag ``-pthread`` and
|
||||
linker flags ``-sUSE_PTHREADS -sPROXY_TO_PTHREAD``.
|
||||
linker flags ``-sUSE_PTHREADS -sPROXY_TO_PTHREAD``.
|
||||
- pthread support requires WASM threads and SharedArrayBuffer (bulk memory).
|
||||
The Node.JS runtime keeps a pool of web workers around. Each web worker
|
||||
uses several file descriptors (eventfd, epoll, pipe).
|
||||
|
@ -203,7 +203,7 @@ functions.
|
|||
- The interactive shell does not handle copy 'n paste and unicode support
|
||||
well.
|
||||
- The bundled stdlib is limited. Network-related modules,
|
||||
distutils, multiprocessing, dbm, tests and similar modules
|
||||
multiprocessing, dbm, tests and similar modules
|
||||
are not shipped. All other modules are bundled as pre-compiled
|
||||
``pyc`` files.
|
||||
- In-memory file system (MEMFS) is not persistent and limited.
|
||||
|
|
|
@ -41,7 +41,6 @@ OMIT_FILES = (
|
|||
"ensurepip/",
|
||||
"venv/",
|
||||
# build system
|
||||
"distutils/",
|
||||
"lib2to3/",
|
||||
# deprecated
|
||||
"asyncore.py",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue