summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-11-11 15:19:47 +0200
committerGitHub <noreply@github.com>2017-11-11 15:19:47 +0200
commitd4f8480dfe89447587550a85b61d4e9faf827e98 (patch)
treeaab4d949de3361858bfd0032df688eb880607731 /Python/Python-ast.c
parente2f92de6a90ae11a6d8e01bd17fd88b005516835 (diff)
downloadcpython-git-d4f8480dfe89447587550a85b61d4e9faf827e98.tar.gz
bpo-31572: Don't silence unexpected errors in the _warnings module. (#3731)
Get rid of _PyObject_HasAttrId() and PyDict_GetItemString(). Silence only expected AttributeError, KeyError and ImportError when get an attribute, look up in a dict or import a module.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions