dfa7677e2f
This verifies the behavior: - Exact matches of built-ins bypass filesystem. - u-prefix modules can be overridden from the filesystem. - Builtin import can be forced using either u-prefix or sys.path=[]. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
3 lines
103 B
Python
3 lines
103 B
Python
# sys is always builtin and cannot be overriden by the filesystem.
|
|
print("ERROR: sys from filesystem")
|