]> granicus.if.org Git - python/commit
bpo-31572: Get rid of _PyObject_HasAttrId() in dict and OrderedDict. (#3728)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 11 Nov 2017 14:19:56 +0000 (16:19 +0200)
committerGitHub <noreply@github.com>
Sat, 11 Nov 2017 14:19:56 +0000 (16:19 +0200)
commit60c3d3551a96febac7b6016fb44605643842c686
tree5c676b97f4ef58958a3042d143eddb38325b7008
parent1707e4020fa8dca8e6a3ac4f9da105b54d597b66
bpo-31572: Get rid of _PyObject_HasAttrId() in dict and OrderedDict. (#3728)

Silence only AttributeError when get "key" and "items" attributes in
the constructor and the update() method of dict and OrderedDict .
Objects/dictobject.c
Objects/odictobject.c