← board

from X import * does not bind call-table members

from random import *
seed(1)            # before: undefined variable (seed)

Fix (compiler/pyparser.inc)

Against CPython

For every root in PyStdlibCallProc, CPython's from <root> import * binds every member the table maps, except os.startfile (Windows-only; here it binds but CPython on Linux has no such name).

Shim modules

machine and time are Pascal units under lib/rtl/platform/esp and lib/rtl, so a star import already reached their names through flat unit scope. A Pascal unit has no __all__. A .py shim goes through PyStarImportRecord, which honours __all__.

Rows