Skip to content
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

improvements for hidden types in the sys module #13031

Merged
merged 5 commits into from
Nov 18, 2024
Merged

Conversation

tungol
Copy link
Contributor

@tungol tungol commented Nov 17, 2024

Related to #13016

Access to the various types:

_flags = type(sys.flags),
_float_info = type(sys.float_info),
_hash_info = type(sys.hash_info),
_implementation = type(sys.implementation),
_int_info = type(sys.int_info),
_thread_info = type(sys.thread_info),
_version_info = type(sys.version_info),
_asyncgen_hooks = type(sys.get_asyncgen_hooks()),

@tungol tungol marked this pull request as draft November 17, 2024 05:27

This comment has been minimized.

@tungol tungol marked this pull request as ready for review November 17, 2024 05:41
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks!

stdlib/sys/__init__.pyi Show resolved Hide resolved
stdlib/sys/__init__.pyi Outdated Show resolved Hide resolved

This comment has been minimized.

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood AlexWaygood self-requested a review November 18, 2024 19:33
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks!

@AlexWaygood AlexWaygood merged commit 6647ae9 into python:main Nov 18, 2024
63 checks passed
@tungol tungol deleted the sys branch November 18, 2024 22:55
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.

2 participants