[issue32235] [2.7 regression] test_xml_etree test_xml_etree_c failures with 2.7 and 3.6 branches 20171205

2017-12-07 Thread Matthias Klose

Matthias Klose  added the comment:

ok, I can confirm that the failures go away with an updated version.  Then 
trying to find documentation about required external dependencies...  None.  
While we have pointers to optimize the build, we don't have anything about 
requirements in the toplevel README.md.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32235] [2.7 regression] test_xml_etree test_xml_etree_c failures with 2.7 and 3.6 branches 20171205

2017-12-06 Thread STINNER Victor

STINNER Victor  added the comment:

See bpo-31170 for expat 2.2.3 bug (and maybe also bpo-30947).

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32235] [2.7 regression] test_xml_etree test_xml_etree_c failures with 2.7 and 3.6 branches 20171205

2017-12-06 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
resolution:  -> third party

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32235] [2.7 regression] test_xml_etree test_xml_etree_c failures with 2.7 and 3.6 branches 20171205

2017-12-06 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

This means that you need to update the expat library. Expat version 2.2.3 
contains a bug, it affects not only Python, but all depending applications.

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32235] [2.7 regression] test_xml_etree test_xml_etree_c failures with 2.7 and 3.6 branches 20171205

2017-12-06 Thread Matthias Klose

New submission from Matthias Klose :

Seen with recent Debian and Ubuntu builds, 

builds configured with --with-system-expat, expat version 2.2.3.

==
ERROR: test_expat224_utf8_bug (test.test_xml_etree.BugsTest)
--
Traceback (most recent call last):
  File "/usr/lib/python2.7/test/test_xml_etree.py", line 1513, in 
test_expat224_utf8_bug
self.check_expat224_utf8_bug(text)
  File "/usr/lib/python2.7/test/test_xml_etree.py", line 1500, in 
check_expat224_utf8_bug
root = ET.XML(xml)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1311, in XML
parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1657, in feed
self._parser.Parse(data, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 2047: 
unexpected end of data

==
ERROR: test_expat224_utf8_bug_file (test.test_xml_etree.BugsTest)
--
Traceback (most recent call last):
  File "/usr/lib/python2.7/test/test_xml_etree.py", line 1518, in 
test_expat224_utf8_bug_file
root = ET.fromstring(raw)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1311, in XML
parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1657, in feed
self._parser.Parse(data, 0)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1020-1021: 
unexpected end of data

--
messages: 307749
nosy: doko
priority: normal
severity: normal
status: open
title: [2.7 regression] test_xml_etree test_xml_etree_c failures with 2.7 and 
3.6 branches 20171205

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com