Skip to content

Conversation

@miss-islington
Copy link
Contributor

This shows users that they can use the actual types. Using deprecated types is confusing.

This also prefers colections.abc.Sized instead of the alias typing.Sized. I guess the aliases were created to make it convenient to import all collections related types from the same place.

This should be backported to 3.9.

Automerge-Triggered-By: @gvanrossum
(cherry picked from commit d9ab95f)

Co-authored-by: Andre Delfino adelfino@gmail.com

…typing (pythonGH-22340) This shows users that they can use the actual types. Using deprecated types is confusing. This also prefers colections.abc.Sized instead of the alias typing.Sized. I guess the aliases were created to make it convenient to import all collections related types from the same place. This should be backported to 3.9. Automerge-Triggered-By: @gvanrossum (cherry picked from commit d9ab95f) Co-authored-by: Andre Delfino <adelfino@gmail.com>
@miss-islington
Copy link
ContributorAuthor

@andresdelfino: Status check is done, and it's a success ✅ .

Copy link
Member

@gvanrossumgvanrossum left a comment

Choose a reason for hiding this comment

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

(And thanks for finding a way to unblock the master PR!)

@miss-islingtonmiss-islington merged commit bdf46bc into python:3.9Sep 27, 2020
@miss-islingtonmiss-islington deleted the backport-d9ab95f-3.9 branch September 27, 2020 19:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip issueskip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@miss-islington@gvanrossum@the-knights-who-say-ni@bedevere-bot@andresdelfino