Skip to content

[1.7 cherry-pick] Add stubs for sys.monitoring, new in Python 3.12 #16589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

AlexWaygood
Copy link
Member

This cherry-picks the changes from python/typeshed#10890 to the release-1.7 branch, as discussed in python/typeshed#10890 (comment)

Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

janus (https://github.com/aio-libs/janus): typechecking got 18243.23x faster (10.5s -> 0.0s)
(Performance measurements are based on a single noisy sample)

@AlexWaygood
Copy link
Member Author

Mypy 1.8 has been released, which includes these stubs

@AlexWaygood AlexWaygood deleted the sys-monitoring-cherry-pick branch December 21, 2023 21:49
@AlexWaygood AlexWaygood restored the sys-monitoring-cherry-pick branch February 22, 2024 16:39
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