This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author i11u
Recipients i11u
Date 2021-10-04.06:07:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633327630.81.0.219409303004.issue45360@roundup.psfhosted.org>
In-reply-to
Content
In the xml.etree.ElementTree module, the function "write(args)" (https://docs.python.org/ja/3/library/xml.etree.elementtree.html) does not seem to have a function like "-p" in "mkdir -p" in UNIX system, i.e., it will raise an error when some directories in the path argument do not exist in your PC.

I find this a bit uncomfortable. So, I would like to extend this function to be able to create directories only if they does not already exist.
History
Date User Action Args
2021-10-04 06:07:10i11usetrecipients: + i11u
2021-10-04 06:07:10i11usetmessageid: <1633327630.81.0.219409303004.issue45360@roundup.psfhosted.org>
2021-10-04 06:07:10i11ulinkissue45360 messages
2021-10-04 06:07:10i11ucreate