commit | c8d8e15bfc24abeeaaf3d8be9073276b0c011cdf | [log] [tgz] |
---|---|---|
author | scoder <stefan_ml@behnel.de> | Thu Sep 14 22:00:03 2017 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Thu Sep 14 23:00:03 2017 +0300 |
tree | fb00b03ee188ead7d74c74d8042b4c966cfeeaa3 | |
parent | 0b3a87ef54a0112b74e8a1d8c6f87d10db4239ab [diff] |
bpo-31455: Fix an assertion failure in ElementTree.XMLParser(). (#3545) * Avoid calling "PyObject_GetAttrString()" (and potentially executing user code) with a live exception set. * Ignore only AttributeError on attribute lookups in ElementTree.XMLParser() and propagate all other exceptions.