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

Naming consistency for various types #126662

Open
tungol opened this issue Nov 11, 2024 · 0 comments
Open

Naming consistency for various types #126662

tungol opened this issue Nov 11, 2024 · 0 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@tungol
Copy link
Contributor

tungol commented Nov 11, 2024

Feature or enhancement

Proposal:

A number of classes self-report names which are not an importable name for that type.
The inconsistency means that the class itself can’t be pickled, typeshed can’t match their display name, and can cause minor confusion. I’m interested in getting these to be consistent where possible.

An accounting of all the types I know about in the category is available at the linked discuss thread.

Has this already been discussed elsewhere?

I have already discussed this feature proposal on Discourse

Links to previous discussion of this feature:

Recent discuss thread: https://discuss.python.org/t/naming-consistency-for-various-types/70401

Another related discussion for types exposed in the types module is available here: #100129

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants