8000 bpo-40280: Disable unusable core extension modules on emscripten (GH-… · python/cpython@b3f443a · GitHub
[go: up one dir, main page]

Skip to content

Commit b3f443a

Browse files
Erlend Egeberg Aaslandtiran
Erlend Egeberg Aasland
andauthored
bpo-40280: Disable unusable core extension modules on emscripten (GH-29834)
Co-authored-by: Christian Heimes <christian@python.org>
1 parent 4dc198d commit b3f443a

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Disable unusable core extension modules on WASM/Emscripten targets.

configure

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21047,6 +21047,10 @@ case $ac_sys_system in #(
2104721047
py_stdlib_not_available="_scproxy nis" ;; #(
2104821048
FreeBSD*) :
2104921049
py_stdlib_not_available="_scproxy spwd" ;; #(
21050+
Emscripten) :
21051+
21052+
py_stdlib_not_available="_curses _curses_panel _dbm _gdbm _multiprocessing _posixshmem _posixsubprocess _scproxy _xxsubinterpreters grp nis ossaudiodev resource spwd syslog termios"
21053+
;; #(
2105021054
*) :
2105121055
py_stdlib_not_available="_scproxy"
2105221056
;;

configure.ac

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6191,6 +6191,26 @@ AS_CASE([$ac_sys_system],
61916191
[CYGWIN*], [py_stdlib_not_available="_scproxy nis"],
61926192
[QNX*], [py_stdlib_not_available="_scproxy nis"],
61936193
[FreeBSD*], [py_stdlib_not_available="_scproxy spwd"],
6194+
[Emscripten], [
6195+
py_stdlib_not_available="m4_normalize([
6196+
_curses
6197+
_curses_panel
6198+
_dbm
6199+
_gdbm
6200+
_multiprocessing
6201+
_posixshmem
6202+
_posixsubprocess
6203+
_scproxy
6204+
_xxsubinterpreters
6205+
grp
6206+
nis
6207+
ossaudiodev
6208+
resource
6209+
spwd
6210+
syslog
6211+
termios
6212+
])"
6213+
],
61946214
[py_stdlib_not_available="_scproxy"]
61956215
)
61966216

0 commit comments

Comments
 (0)
0