commit | b99824a8e14d94c3c5c29499a08fe70deb477d0c | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Jun 22 01:21:04 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Jun 22 01:21:04 2020 -0700 |
tree | 2071b90c828dccc80d65b6b280197d97b9162c9f | |
parent | d5ee9b9940ba24120838b07061058afe931cfff1 [diff] |
bpo-40824: Do not mask errors in __iter__ in "in" and the operator module. (GH-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 cafe1b6e9d3594a34aba50e872d4198296ffaadf) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>