Commit 3923f96d authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/cpydiff/core_import_path: Test showing difference in package.__path__.

parent ab4a8618
categories: Core,import
description: __path__ attribute of a package has a different type (single string instead of list of strings) in MicroPython
cause: MicroPython does't support namespace packages split across filesystem. Beyond that, MicroPython's import system is highly optimized for minimal memory usage.
workaround: Details of import handling is inherently implementation dependent. Don't rely on such details in portable applications.
import modules
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment