Skip to content

jitclass type stubs - #10716

Merged
swap357 merged 1 commit into
numba:mainfrom
jorenham:typing/experimental.jitclass
Sep 4, 2026
Merged

swap357 merged 1 commit into
numba:mainfrom
jorenham:typing/experimental.jitclass

Conversation

@jorenham

Copy link
Copy Markdown
Contributor

This was more straightforward that I originally thought it would be, because @jitclass either returns the decorated class as-is, or it returns an identity function constrained to type. This means that the overloads are fully disjoint (i.e. non-overlapping), so it's all nice and deterministic.

I wrote everything by hand, and had Claude Fable 5 review it for correctness and completeness.

@swap357 swap357 added 3 - Ready for Review skip_release_notes Skip towncrier requirement labels Jul 21, 2026
@jorenham
jorenham force-pushed the typing/experimental.jitclass branch from b0a237b to facb65a Compare August 13, 2026 09:07

@swap357 swap357 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@swap357
swap357 merged commit 180d910 into numba:main Sep 4, 2026
24 checks passed
@swap357 swap357 added 5 - Ready to merge Review and testing done, is ready to merge and removed 3 - Ready for Review labels Sep 4, 2026
@jorenham
jorenham deleted the typing/experimental.jitclass branch September 4, 2026 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5 - Ready to merge Review and testing done, is ready to merge skip_release_notes Skip towncrier requirement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants