Skip to content

Improve classes returned from OrderedDict.{keys(), items(), values()} - #8552

Merged
AlexWaygood merged 5 commits into
masterfrom
odict_keys
Aug 20, 2022
Merged

AlexWaygood merged 5 commits into
masterfrom
odict_keys

Conversation

@AlexWaygood

@AlexWaygood AlexWaygood commented Aug 18, 2022 •

Copy link
Copy Markdown
Member

This is an alternative PR to #8544 (closes #8544). @sobolevn, what do you think? :)

@github-actions

This comment has been minimized.

@AlexWaygood

AlexWaygood commented Aug 20, 2022 •

Copy link
Copy Markdown
Member Author

Ping, @sobolevn -- I'd be interested to hear your thoughts on this :)

@sobolevn sobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think that we can still keep _OrderedDict* classes, but I am pretty sure that nobody will miss them 😆

@AlexWaygood

AlexWaygood commented Aug 20, 2022 •

Copy link
Copy Markdown
Member Author

I think that we can still keep _OrderedDict* classes, but I am pretty sure that nobody will miss them 😆

Ugh, I guess you're right, somebody somewhere is probably relying on them being in the stub 😆

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

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

@AlexWaygood
AlexWaygood requested a review from sobolevn August 20, 2022 21:12
@AlexWaygood
AlexWaygood merged commit 9f05e9f into master Aug 20, 2022
@AlexWaygood
AlexWaygood deleted the odict_keys branch August 20, 2022 21:21
@AlexWaygood

Copy link
Copy Markdown
Member Author

Thanks for the review @sobolevn!

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