Skip to content

Add a sys.meta_path importer for .NET namespaces and types - #2117

Merged
slozier merged 3 commits into
IronLanguages:mainfrom
slozier:clrimporter
Oct 24, 2026
Merged

slozier merged 3 commits into
IronLanguages:mainfrom
slozier:clrimporter

Conversation

@slozier

@slozier slozier commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Add a sys.meta_path importer (ClrImporter) for .NET namespaces and types.

Also changes the current directory entry in sys.path from "." to "" to match CPython. importlib resolves "" with os.getcwd(), while "." is just a relative path.

@slozier
slozier merged commit 6e34e95 into IronLanguages:main Oct 24, 2026
35 checks passed
@slozier
slozier deleted the clrimporter branch October 24, 2026 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant