commit | f081fd83032be48aefdb1bbcc38ab5deb03785d5 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Oct 19 12:12:57 2018 +0300 |
committer | GitHub <noreply@github.com> | Fri Oct 19 12:12:57 2018 +0300 |
tree | 9696b61136dbfe1bae2edbb249b25cd7143defea | |
parent | 68def052dcd41313eff2bd9f269e22c5a941db4d [diff] |
bpo-35013: Add more type checks for children of Element. (GH-9944) It is now guarantied that children of xml.etree.ElementTree.Element are Elements (at least in C implementation). Previously methods __setitem__(), __setstate__() and __deepcopy__() could be used for adding non-Element children.