Skip to content

[3.8] bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-20537) #21044

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 1 commit into from
Jun 22, 2020

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 22, 2020

Unexpected errors in calling the iter method are no longer
masked by TypeError in the "in" operator and functions
operator.contains(), operator.indexOf() and operator.countOf().
(cherry picked from commit cafe1b6)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

https://bugs.python.org/issue40824

…dule. (pythonGH-20537)

Unexpected errors in calling the __iter__ method are no longer
masked by TypeError in the "in" operator and functions
operator.contains(), operator.indexOf() and operator.countOf().
(cherry picked from commit cafe1b6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
Copy link
Contributor Author

@serhiy-storchaka: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit b99824a into python:3.8 Jun 22, 2020
@miss-islington miss-islington deleted the backport-cafe1b6-3.8 branch June 22, 2020 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants