[pypy-issue] Issue #2641: XML library incorrectly parsing files on Windows (pypy/pypy)
issues-reply at bitbucket.org
Tue Aug 29 05:01:24 EDT 2017
New issue 2641: XML library incorrectly parsing files on Windows
pypy incorrectly parses XML files using the default xml.etree.ElementTree library.
A minimal working example is given below.
XML file "test.xml":
Python file "test.py":
import xml.etree.ElementTree as ET
tree = ET.parse("test.xml")
root = tree.getroot()
Expected output of running `pypy test.py` is "root", actual output is "r". Other functions (such as findall) are also affected.
This is an issue with latest version of PyPy, v5.8.0-win32 on 64-bit Windows 10. It runs correctly on Linux, as well as for Python v2.7.13.
More information about the pypy-issue