From: Dmitry S. <man...@us...> - 2023-04-21 20:52:25
|
lxml is not part of standard library, while xml.etree is. So we are adding a dependency on a 3rdparty project for no good reason. I am attaching a version of this patch which applies cleanly to master branch of git mirror. Attachments: - [rst2odt_prepstyles-elementtree.patch](https://sourceforge.net/p/docutils/patches/_discuss/thread/1beea79a/3f73/fab1/attachment/rst2odt_prepstyles-elementtree.patch) (1.3 kB; text/x-patch) --- ** [patches:#114] rst2odt_prepstyles.py: Port to ElementTree** **Status:** pending-remind **Group:** None **Created:** Mon Aug 05, 2013 02:12 PM UTC by Michael Schutte **Last Updated:** Tue Apr 18, 2023 06:56 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 doc...@li... 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. |