Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disable unusable core extension modules on WASM/Emscripten targets.
4 changes: 4 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
Expand Down
20 changes: 20 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
)

Expand Down