New issue 2641: XML library incorrectly parsing files on Windows
https://bitbucket.org/pypy/pypy/issues/2641/xml-library-incorrectly-parsing-files-on
SimonVM:
pypy incorrectly parses XML files using the default xml.etree.ElementTree
library.
A minimal working example is given below.
XML file "test.xml":
```
#!xml
<root></root>
```
Python file "test.py":
```
#!python
import xml.etree.ElementTree as ET
tree = ET.parse("test.xml")
root = tree.getroot()
print root.tag
```
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.
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue