diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-06-22 08:21:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 08:21:04 (GMT) |
commit | b99824a8e14d94c3c5c29499a08fe70deb477d0c (patch) | |
tree | 2071b90c828dccc80d65b6b280197d97b9162c9f /Python/fileutils.c | |
parent | d5ee9b9940ba24120838b07061058afe931cfff1 (diff) | |
download | cpython-b99824a8e14d94c3c5c29499a08fe70deb477d0c.zip cpython-b99824a8e14d94c3c5c29499a08fe70deb477d0c.tar.gz cpython-b99824a8e14d94c3c5c29499a08fe70deb477d0c.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/fileutils.c')
0 files changed, 0 insertions, 0 deletions