31 Jul 2012 07:08
[ docutils-Bugs-3552403 ] Docutils incompatible with PyXML
<SourceForge.net>
2012-07-31 05:08:56 GMT
2012-07-31 05:08:56 GMT
Bugs item #3552403, was opened at 2012-07-30 22:08 Message generated for change (Tracker Item Submitted) made by abadger1999 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422030&aid=3552403&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Toshio Kuratomi (abadger1999) Assigned to: Nobody/Anonymous (nobody) Summary: Docutils incompatible with PyXML Initial Comment: When PyXML is installed, docutils fails its test suite. PyXML is likely at fault here as it is dead upstream and likely contains bugs that have been fixed in the python stdlib. Unfortunately, the python stdlib replaces its own xml module with the PyXML module if that module is installed. I'll attach a patch that causes python to prefer the stdlib python xml code over the PyXML code. Traceback follows (note: I've seen this traceback on the mailing list before... we just didn't have a reproducer at that time): ====================================================================== ERROR: test_invalid_raw_xml (test_writers.test_docutils_xml.DocutilsXMLTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/git/python-docutils/docutils-0.10/test/test_writers/test_docutils_xml.py", line(Continue reading)
RSS Feed