[New-bugs-announce] [issue25691] Crash on deleting Element attribute

Serhiy Storchaka report at bugs.python.org
Sat Nov 21 12:04:39 EST 2015


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: eli.bendersky, scoder, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Crash on deleting Element attribute
type: crash
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file41114/etree_del_attributes.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25691>
_______________________________________


More information about the New-bugs-announce mailing list