[issue25691] Crash on deleting Element attribute

2015-11-22 Thread Larry Hastings
Larry Hastings added the comment: This change didn't make it into 3.5.1. It will be released with 3.5.2. I've already updated the Misc/NEWS entry. -- nosy: +larry ___ Python tracker _

[issue25691] Crash on deleting Element attribute

2015-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Martin. Opened issue25701 for documenting. Interestingly, 2.7 is free from this bug. It has a check for NULL. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___

[issue25691] Crash on deleting Element attribute

2015-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 852c9ed9115c by Serhiy Storchaka in branch '3.4': Issue #25691: Fixed crash on deleting ElementTree.Element attributes. https://hg.python.org/cpython/rev/852c9ed9115c New changeset 3a44f06907f1 by Serhiy Storchaka in branch '3.5': Issue #25691: Fixe

[issue25691] Crash on deleting Element attribute

2015-11-22 Thread Martin Panter
Martin Panter added the comment: The patch looks good to me. This may be a side effect of poor documentation. I guess the documentation at and/or the referenced functions should mention that the they also delete attri

[issue25691] Crash on deleting Element attribute

2015-11-21 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: >>> import xml.etree.ElementTree as ET >>> e = ET.Element('tag') >>> del e.tag Segmentation fault (core dumped) Proposed patch fixes the crash. -- components: Extension Modules files: etree_del_attributes.patch keywords: patch messages: 255063 nosy: