Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-40824: Do not mask errors in __iter__ in "in" and the operator module.#20537

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedMay 30, 2020
edited by bedevere-bot
Loading

Unexpected errors in calling the__iter__ method are no longer
masked byTypeError in the "in" operator and functions
operator.contains(),operator.indexOf() andoperator.countOf().

https://bugs.python.org/issue40824

…dule.Unexpected errors in calling the __iter__ method are no longermasked by TypeError in the "in" operator and functionsoperator.contains(), operator.indexOf() and operator.countOf().
@miss-islington
Copy link
Contributor

Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7, 3.8, 3.9.
🐍🍒⛏🤖

@serhiy-storchakaserhiy-storchaka deleted the errors-in-iter branchJune 22, 2020 07:43
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJun 22, 2020
…dule. (pythonGH-20537)Unexpected errors in calling the __iter__ method are no longermasked by TypeError in the "in" operator and functionsoperator.contains(), operator.indexOf() and operator.countOf().(cherry picked from commitcafe1b6)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-21043 is a backport of this pull request to the3.9 branch.

@bedevere-bot
Copy link

GH-21044 is a backport of this pull request to the3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJun 22, 2020
…dule. (pythonGH-20537)Unexpected errors in calling the __iter__ method are no longermasked by TypeError in the "in" operator and functionsoperator.contains(), operator.indexOf() and operator.countOf().(cherry picked from commitcafe1b6)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJun 22, 2020
…dule. (pythonGH-20537)Unexpected errors in calling the __iter__ method are no longermasked by TypeError in the "in" operator and functionsoperator.contains(), operator.indexOf() and operator.countOf().(cherry picked from commitcafe1b6)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

GH-21045 is a backport of this pull request to the3.7 branch.

@bedevere-bot
Copy link

GH-21046 is a backport of this pull request to the3.6 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJun 22, 2020
…dule. (pythonGH-20537)Unexpected errors in calling the __iter__ method are no longermasked by TypeError in the "in" operator and functionsoperator.contains(), operator.indexOf() and operator.countOf().(cherry picked from commitcafe1b6)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington added a commit that referenced this pull requestJun 22, 2020
…dule. (GH-20537)Unexpected errors in calling the __iter__ method are no longermasked by TypeError in the "in" operator and functionsoperator.contains(), operator.indexOf() and operator.countOf().(cherry picked from commitcafe1b6)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington added a commit that referenced this pull requestJun 22, 2020
…dule. (GH-20537)Unexpected errors in calling the __iter__ method are no longermasked by TypeError in the "in" operator and functionsoperator.contains(), operator.indexOf() and operator.countOf().(cherry picked from commitcafe1b6)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
fasih pushed a commit to fasih/cpython that referenced this pull requestJun 29, 2020
…dule. (pythonGH-20537)Unexpected errors in calling the __iter__ method are no longermasked by TypeError in the "in" operator and functionsoperator.contains(), operator.indexOf() and operator.countOf().
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

type-bugAn unexpected behavior, bug, or error

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@serhiy-storchaka@miss-islington@bedevere-bot@the-knights-who-say-ni

[8]ページ先頭

©2009-2025 Movatter.jp