[New-bugs-announce] [issue42151] Pure Python xml.etree.ElementTree is missing default attribute values

Felix C. Stegerman report at bugs.python.org
Sun Oct 25 23:51:30 EDT 2020


New submission from Felix C. Stegerman <flx at obfusk.net>:

I originally reported this as a bug in PyPy, but it turns out that CPython's C implementation (_elementtree) behaves differently than the pure Python version (b/c it sets specified_attributes = 1).

PyPy issue with example code: https://foss.heptapod.net/pypy/pypy/-/issues/3333

----------
components: Library (Lib)
messages: 379637
nosy: obfusk
priority: normal
severity: normal
status: open
title: Pure Python xml.etree.ElementTree is missing default attribute values
type: behavior
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42151>
_______________________________________


More information about the New-bugs-announce mailing list