[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-24 Thread Ned Deily
Change by Ned Deily : -- versions: -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, I was not sure which versions are in security-fix phase now. -- ___ Python tracker ___ _

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-24 Thread Ned Deily
Ned Deily added the comment: @Serhiy, you have opened PRs for this for 3.7 and 3.6, both of which are now in the security-fix phase of their release cycles. It looks like this behavior has been around for a long time and does not appear to be a security issue. Unless there is some important

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-22 Thread miss-islington
miss-islington added the comment: New changeset b99824a8e14d94c3c5c29499a08fe70deb477d0c by Miss Islington (bot) in branch '3.8': bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-20537) https://github.com/python/cpython/commit/b99824a8e14d94c3c5c29499a08fe70deb4

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-22 Thread miss-islington
miss-islington added the comment: New changeset 353c4bab7d103cb66391a83f3c27cd75ae13a754 by Miss Islington (bot) in branch '3.9': bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-20537) https://github.com/python/cpython/commit/353c4bab7d103cb66391a83f3c27cd75ae1

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +20217 pull_request: https://github.com/python/cpython/pull/21046 ___ Python tracker ___ __

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +20214 pull_request: https://github.com/python/cpython/pull/21043 ___ Python tracker _

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +20215 pull_request: https://github.com/python/cpython/pull/21044 ___ Python tracker ___ __

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +20216 pull_request: https://github.com/python/cpython/pull/21045 ___ Python tracker ___ __

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-06-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset cafe1b6e9d3594a34aba50e872d4198296ffaadf by Serhiy Storchaka in branch 'master': bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-20537) https://github.com/python/cpython/commit/cafe1b6e9d3594a34aba50e872d4198296

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-05-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +19780 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20537 ___ Python tracker ___

[issue40824] Unexpected errors in __iter__ are masked in "in" and the operator module

2020-05-30 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : All errors raised in the __iter__ method are masked by the TypeError exception in the "in" operator and functions operator.contains(), operator.indexOf() and operator.countOf(). >>> class BadIterable: ... def __iter__(self): ... 1/0 ... >>>