Repository navigation
Refactor Python projection around semantic type identity - #111
Merged
Merged
Conversation
leileizhang (lei9444)
force-pushed
the
lei9444-python-semantic-identity
branch
from
September 1, 2026 01:59
244aa37 to
d5c377c
Compare
leileizhang (lei9444)
changed the base branch from
fix/python-long-path-static-projection
to
main
September 1, 2026 02:32
Use canonical namespace- and kind-aware identities for Python names, modules, imports, delegates, and closed generics. Replace thread-local layout state with an explicit projection context and preserve ambiguous types through namespace facades. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
leileizhang (lei9444)
force-pushed
the
lei9444-python-semantic-identity
branch
from
September 1, 2026 03:12
d5c377c to
e4c9a0e
Compare
Shawn Yuan (shuaiyuanxx)
approved these changes
Sep 1, 2026
Mixed-language test coverageWorkflow status: ✅ Passed
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PythonProjectionContextthreaded through runtime and stub generationThis PR is stacked on #108 and should target
fix/python-long-path-static-projectionuntil that PR merges.Validation
cargo test -p dynwinrt-codegen --quietcargo test -p dynwinrt --quiet(247 passed, 1 ignored, plus doc tests)mypy.stubtest dynwinrt: 2 modules passed.py/.pyisources compiled, repeated generation byte-stable, module basenames capped at 120 characterseng/release/python/test_generated_python_long_paths.ps1passes generation, hashing, incremental preservation, and cache-rotation checks, then the setuptools wheel phase hits legacyMAX_PATHbecause this machine hasLongPathsEnabled=0. The exact #108 baseline fails at the same wheel step.