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

Clarify usage of type hints in the standard-library modules #1304

Open
Privat33r-dev opened this issue Apr 8, 2024 · 0 comments
Open

Clarify usage of type hints in the standard-library modules #1304

Privat33r-dev opened this issue Apr 8, 2024 · 0 comments

Comments

@Privat33r-dev
Copy link

Privat33r-dev commented Apr 8, 2024

I think that Alex summarized the issue pretty well:

In general our policy is currently not to add type hints to standard-library modules in the Lib/ directory (there are some exceptions, but they're all pretty specific). I think we still have yet to add some formal documentation around this in the devguide (we really need to!), but you can see some rationales here:

Originally posted by @AlexWaygood in python/cpython#117583 (comment)

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

No branches or pull requests

1 participant