Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#114 rst2odt_prepstyles.py: Port to ElementTree

None
open
nobody
None
5
2014-06-03
2013-08-05
Michael Schutte
No

rst2odt_prepstyles.py currently uses lxml to parse, modify and write XML. The attached patch makes it use ElementTree instead, which has been part of Python's standard library since 2.5.

1 Attachments

Discussion

  • Here is a revised version of this patch, which also adds Python 3 compatibility (by using correct Except: statements and sys.stderr.write).

     
  • Dear Docutils developers, can you please comment on this ticket? (And probably other ones in "patches" group).