Allow for built-in modules to be submodules #102768
Labels
3.10
only security fixes
3.11
only security fixes
3.12
only security fixes
topic-importlib
type-bug
An unexpected behavior, bug, or error
As discovered while trying to get NumPy statically compiled into CPython for WASI, the built-in importer automatically rejects any built-in module name with a
.
. But honestly I don't know if there's a need to be so strict since there technically isn't a reason why a built-in module couldn't be a submodule.The text was updated successfully, but these errors were encountered: