SIGN IN SIGN UP

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.
S
scoder committed
c8d8e15bfc24abeeaaf3d8be9073276b0c011cdf
Parent: 0b3a87e
Committed by Serhiy Storchaka <storchaka@gmail.com> on 9/14/2017, 8:00:03 PM