BPO | [35008](https://bugs.python.org/issue35008) --- | :--- Nosy | @scoder, @serhiy-storchaka, @miss-islington PRs | python/cpython#9924python/cpython#9942python/cpython#9943 *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = 'https://github.com/serhiy-storchaka' closed_at = created_at = labels = ['extension-modules', '3.7', '3.8', 'performance'] title = 'Leaks xml.etree.ElementTree.Element.__setsate__()' updated_at = user = 'https://github.com/serhiy-storchaka' ``` bugs.python.org fields: ```python activity = actor = 'serhiy.storchaka' assignee = 'serhiy.storchaka' closed = True closed_date = closer = 'serhiy.storchaka' components = ['Extension Modules'] creation = creator = 'serhiy.storchaka' dependencies = [] files = [] hgrepos = [] issue_num = 35008 keywords = ['patch'] message_count = 4.0 messages = ['327873', '327937', '327941', '327942'] nosy_count = 4.0 nosy_names = ['scoder', 'eli.bendersky', 'serhiy.storchaka', 'miss-islington'] pr_nums = ['9924', '9942', '9943'] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'resource usage' url = 'https://bugs.python.org/issue35008' versions = ['Python 3.6', 'Python 3.7', 'Python 3.8'] ```
Activity
serhiy-storchaka commentedon Oct 17, 2018
When call the __setstate__() method of xml.etree.ElementTree.Element in the C implementation for already initialized element it leaks old children.
serhiy-storchaka commentedon Oct 18, 2018
New changeset 6f906b3 by Serhiy Storchaka in branch 'master':
bpo-35008: Fix possible leaks in Element.__setstate__(). (GH-9924)
6f906b3
miss-islington commentedon Oct 18, 2018
New changeset bcbefe2 by Miss Islington (bot) in branch '3.6':
bpo-35008: Fix possible leaks in Element.__setstate__(). (GH-9924)
bcbefe2
miss-islington commentedon Oct 18, 2018
New changeset 5b9b935 by Miss Islington (bot) in branch '3.7':
bpo-35008: Fix possible leaks in Element.__setstate__(). (GH-9924)
5b9b935