Skip to content

Handling unsupported CPython stdlib modules #144

@rth

Description

@rth

Currently modules from the CPython standard library that are not supported, such as,

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions