Repository navigation
TypedPython: @compiled is the only mark; drop the module pragma - #357
Merged
Merged
Conversation
…piled' module pragma The maintainer decided (2026-10-30) to keep only the builtin @compiled. The pragma is now an ordinary comment; tests, the Kotlin-bridge fixture, benchmarks and the release example decorate the functions the pragma used to cover.
…elves Plain CPython without typedpython_builtins.pth has no builtins.compiled; the child scripts now prepend conftest's COMPILED_SHIM. Also fixes test_regions' split that left a dangling @compiled.
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.
Closes #353
Maintainer decision 2026-10-30: keep only
@compiled. The first-line# typedpython: compiledpragma is now an ordinary comment (detection and MARKER removed). Tests, the Kotlin-bridge fixture, benchmarks (run.pywith_compileddecorates every top-level def and class, the set the pragma covered), the release example, SPEC N-8 and the design doc use@compiled. Child processes in tests install the builtin themselves (plain CPython has no typedpython_builtins.pth).Local macOS, CI-style env: 1691 passed, 3 skipped (before the child-shim fix: 68 failed).