FS#37623 - [libxml2] python3 bindings are broken
Attached to Project:
Arch Linux
Opened by Abdó Roig-Maranges (abdo) - Sunday, 03 November 2013, 20:23 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 04 November 2013, 14:25 GMT
Opened by Abdó Roig-Maranges (abdo) - Sunday, 03 November 2013, 20:23 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 04 November 2013, 14:25 GMT
|
Details
Description:
xml parsing in python via xml.sax and the libxml2 parser fails with syntax error since libxml2 2.9.1-4 [...] File "/usr/lib/python3.3/xml/sax/__init__.py", line 78, in make_parser return _create_parser(parser_name) File "/usr/lib/python3.3/xml/sax/__init__.py", line 102, in _create_parser drv_module = __import__(parser_name,{},{},['create_parser']) File "/usr/lib/python3.3/site-packages/drv_libxml2.py", line 68 except ImportError, e: To reproduce run this on python3: from xml.sax import make_parser make_parser(['drv_libxml2']) Comments: This breaks at least python-feedparser, but it may break a lot more stuff that asks explicitly for 'drv_libxml2', since before 2.9.1-4, python did not complain about missing drv_libxml2 and used a fallback. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Monday, 04 November 2013, 14:25 GMT
Reason for closing: Fixed
Additional comments about closing: libxml2 2.9.1-5
Monday, 04 November 2013, 14:25 GMT
Reason for closing: Fixed
Additional comments about closing: libxml2 2.9.1-5