Deprecate typing.Hashable/Sized (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

python / cpython Public

Additional navigation options

New issue

New issue

Closed

Closed

Deprecate typing.Hashable/Sized

#94309

Labels

docsDocumentation in the Doc direasytopic-typingtype-featureA feature request or enhancement

@Numerlor

Description

@Numerlor

Numerlor

opened

on Jun 26, 2022

typing.Hashable and typing.Sized are aliases to their equivalents in the collections.abc module; PEP 585 deprecated all aliases like these while aiming to remove the duplication between the two modules, but the aforementioned two seem to have been left out of that because they're not generic.

If the others are deprecated, I don't think it makes sense to keep them when they're just aliases that provide no additional functionality

Linked PRs

Metadata

Metadata

Assignees

No one assigned

Labels

docsDocumentation in the Doc direasytopic-typingtype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions