Skip to content

bpo-46676: Make ParamSpec args and kwargs equal to themselves #31203

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

Merged
merged 7 commits into from
Feb 8, 2022

Conversation

GBeauregard
Copy link
Contributor

@GBeauregard GBeauregard commented Feb 7, 2022

Accomplished by adding __eq__ methods in a manner that mirrors similar methods in other parts of typing.py.

https://bugs.python.org/issue46676

@GBeauregard GBeauregard marked this pull request as ready for review February 7, 2022 19:55
@GBeauregard GBeauregard requested a review from sobolevn February 7, 2022 20:33
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM.

@miss-islington
Copy link
Contributor

Thanks @GBeauregard for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry @GBeauregard and @serhiy-storchaka, I had trouble checking out the 3.10 backport branch.
Please backport using cherry_picker on command line.
cherry_picker c8b62bbe46e20d4b6dd556f2fa85960d1269aa45 3.10

@GBeauregard
Copy link
Contributor Author

@serhiy-storchaka thanks, I will run the cherry picker for you and open a PR

GBeauregard added a commit to GBeauregard/cpython that referenced this pull request Feb 8, 2022
…ythonGH-31203)

(cherry picked from commit c8b62bb)

Co-authored-by: Gregory Beauregard <greg@greg.red>
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Feb 8, 2022
@bedevere-bot
Copy link

GH-31210 is a backport of this pull request to the 3.10 branch.

serhiy-storchaka pushed a commit that referenced this pull request Feb 8, 2022
…H-31203) (GH-31210)

(cherry picked from commit c8b62bb)

Co-authored-by: Gregory Beauregard <greg@greg.red>
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.

6 participants