Skip to content

pythonqtside._app_imports.ImportContext

ImportContext

Route PySide2 and local Python files through one app's private builtins.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, handle: Any, root: Path) -> None
execute function (self, path: Path, namespace: dict) -> None Decode via Python's encoding-cookie rules and retain exact original bytes.
importer function (self, name: str, globals: dict | None=None, locals: dict | None=None, fromlist: tuple=(), level: int=0) -> M… Match Python's top-package/fromlist return convention in the private graph.