]> granicus.if.org Git - python/commit
[3.8] bpo-37994: Fix silencing all errors if an attribute lookup fails. (GH-15630...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 Sep 2019 11:01:05 +0000 (14:01 +0300)
committerGitHub <noreply@github.com>
Sun, 1 Sep 2019 11:01:05 +0000 (14:01 +0300)
commit353053d9ad08fea0e205e6c008b8a4350c0188e6
tree3bd4434c152e934fb260c1c1651c080c3df29a14
parent6922b9e4fce635339cb94c2fdef6bba4e2a99621
[3.8] bpo-37994: Fix silencing all errors if an attribute lookup fails. (GH-15630) (GH-15635)

Only AttributeError should be silenced.
(cherry picked from commit 41c57b335330ff48af098d47e379e0f9ba09d233)
14 files changed:
Misc/NEWS.d/next/Core and Builtins/2019-08-31-11-13-25.bpo-37994.Rj6S4j.rst [new file with mode: 0644]
Modules/_csv.c
Modules/_datetimemodule.c
Modules/_pickle.c
Modules/_threadmodule.c
Modules/pyexpat.c
Objects/bytearrayobject.c
Objects/descrobject.c
Objects/fileobject.c
Objects/setobject.c
Objects/typeobject.c
Objects/weakrefobject.c
Python/bltinmodule.c
Python/sysmodule.c