Skip to content

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

Merged
miss-islington merged 1 commit intopython:3.8from
miss-islington:backport-cafe1b6-3.8
Jun 22, 2020
Merged

[3.8] bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-20537)#21044
miss-islington merged 1 commit intopython:3.8from
miss-islington:backport-cafe1b6-3.8

Conversation

@miss-islington
Copy link
Copy Markdown
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
Copy Markdown
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