Uh oh!
There was an error while loading. Please reload this page.
[sys] Add the 3.14 _jit 'module' - #15692
Conversation
This comment has been minimized.
This comment has been minimized.
…ixed modules in its variable list
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
…irmed Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diff from mypy_primer, showing the effect of this PR on open source code: pandas (https://github.com/pandas-dev/pandas)
- pandas/core/computation/ops.py:328: error: Need type annotation for "_binary_ops_dict" (hint: "_binary_ops_dict: dict[<type>, <type>] = ...") [var-annotated] |
JelleZijlstra
commented
May 4, 2026
I'm a bit suspicious about the mypy-primer hit, as it seems unrelated to the PR; maybe there's a nondeterminism bug in mypy. I'll investigate that some more. |
Uh oh!
There was an error while loading. Please reload this page.
srittau
commented
May 4, 2026
We've seen the same primer hit in other PRs. So there's certainly some weirdness, but unrelated to this PR. |
JelleZijlstra
commented
May 4, 2026
I had Codex look at it and I think it figured it out, I'll send a PR to mypy once I confirm. |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Type annotations for
sys._jitTo handle the fact that it is a module despite not being importable, i adopted the approach used for
sys.monitoringfrom #10890