bpo-40280: Disable unusable core extension modules on emscripten (GH-29834)

Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
Erlend Egeberg Aasland 2021-11-29 12:39:14 +01:00 committed by GitHub
parent 4dc198dedd
commit b3f443a35e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1 @@
Disable unusable core extension modules on WASM/Emscripten targets.

4
configure vendored
View File

@ -21047,6 +21047,10 @@ case $ac_sys_system in #(
py_stdlib_not_available="_scproxy nis" ;; #(
FreeBSD*) :
py_stdlib_not_available="_scproxy spwd" ;; #(
Emscripten) :
py_stdlib_not_available="_curses _curses_panel _dbm _gdbm _multiprocessing _posixshmem _posixsubprocess _scproxy _xxsubinterpreters grp nis ossaudiodev resource spwd syslog termios"
;; #(
*) :
py_stdlib_not_available="_scproxy"
;;

View File

@ -6191,6 +6191,26 @@ AS_CASE([$ac_sys_system],
[CYGWIN*], [py_stdlib_not_available="_scproxy nis"],
[QNX*], [py_stdlib_not_available="_scproxy nis"],
[FreeBSD*], [py_stdlib_not_available="_scproxy spwd"],
[Emscripten], [
py_stdlib_not_available="m4_normalize([
_curses
_curses_panel
_dbm
_gdbm
_multiprocessing
_posixshmem
_posixsubprocess
_scproxy
_xxsubinterpreters
grp
nis
ossaudiodev
resource
spwd
syslog
termios
])"
],
[py_stdlib_not_available="_scproxy"]
)