[docutils:patches] #114 rst2odt_prepstyles.py: Port to ElementTree

"Günter Milde" via Docutils-develop <[email protected]>
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/patches/114/28b669d7f24dc4a5ce347fea3fb4a7737a641926.patches@docutils.p.sourceforge.net>
- **status**: pending-remind --> open-accepted
- **Comment**:

Applied in [r9365].
(Without the handling of Python <2.5 as we no longer support Python 2.)

Thank you for the patch.



---

** [patches:#114] rst2odt_prepstyles.py: Port to ElementTree**

**Status:** open-accepted
**Group:** None
**Created:** Mon Aug 05, 2013 02:12 PM UTC by Michael Schutte
**Last Updated:** Wed Apr 26, 2023 12:17 PM UTC
**Owner:** nobody
**Attachments:**

- [rst2odt_prepstyles-elementtree.diff](https://sourceforge.net/p/docutils/patches/114/attachment/rst2odt_prepstyles-elementtree.diff) (1.8 kB; text/x-patch)


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.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.