diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-06-22 08:20:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 08:20:56 (GMT) |
commit | 353c4bab7d103cb66391a83f3c27cd75ae13a754 (patch) | |
tree | 06bdf5a3c053aa3850589b3a9eb555bcfede9e43 /Python/sysmodule.c | |
parent | f19ed6b0c77ba3bdaa1d8c304a61f2fa90b5d6ac (diff) | |
download | cpython-353c4bab7d103cb66391a83f3c27cd75ae13a754.zip cpython-353c4bab7d103cb66391a83f3c27cd75ae13a754.tar.gz cpython-353c4bab7d103cb66391a83f3c27cd75ae13a754.tar.bz2 |
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>
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions