[New-bugs-announce] [issue18998] iter() not working in ElementTree

Germán M. Bravo report at bugs.python.org
Tue Sep 10 16:37:01 CEST 2013


New submission from Germán M. Bravo:

The added iter/itertext methods in Element are not working under certain circumstances (crashes):

This crashes:
  e = ElementTree().parse('/Users/kronuz/Desktop/tests/houses.xml')
  e.iter()

But the problem is not there if I use bootstrapped iterators instead (from the previous commit to the one introducing Element iterator)

----------
components: Extension Modules
files: houses.xml
messages: 197441
nosy: Kronuz, eli.bendersky, scoder
priority: normal
severity: normal
status: open
title: iter() not working in ElementTree
type: crash
versions: Python 3.3
Added file: http://bugs.python.org/file31720/houses.xml

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


More information about the New-bugs-announce mailing list