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

bpo-34497 Remove needless set operator restriction #8921

Closed
wants to merge 1 commit into from

Conversation

mr-nfamous
Copy link
Contributor

@mr-nfamous mr-nfamous commented Aug 25, 2018

These set operators immediately call their non-dunder implementation upon validating the operands anyway, and since those implementations have no type restrictions for the "other" argument, why not give sets the same functionality dict_keys/dict_items have?

https://bugs.python.org/issue34497

These set operators immediately call their non-dunder implementation upon validating the operands anyway, and since those implementations have no type restrictions for the "other" argument, why not give sets the same functionality dict_keys/dict_items have?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants