-
-
Notifications
You must be signed in to change notification settings - Fork 998
Closed
Labels
Description
Currently modules from the CPython standard library that are not supported, such as,
- ctypes
- threading ?
- etc.. see more complete list in remove_modules.txt
cannot be imported in CPython wasm environment, meaning that every time one of those is imported in a Python package, it needs to be patched, which is time consuming.
The question is, could it be beneficial to add some mechanism to allow imports of these modules (and of the functions/classes they contain), then error when any of these functions classes are actually used? The difference is that in a user package, the failure would happen for the unsupported functionality instead of for the whole package at import time (short of patching it).
Reactions are currently unavailable