[docutils:feature-requests] #36 option for disallowing file overwrites
"Günter Milde" via Docutils-develop <[email protected]>
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | </p/docutils/feature-requests/36/167be5c45efdcc8bc58c58003df952a03add0f71.feature-requests@docutils.p.sourceforge.net> |
Since 3.3, Python's standard `open()` supports the "mode" argument value 'x' open for exclusive creation, failing if the file already exists which could help with the implementation of such an option. --- ** [feature-requests:#36] option for disallowing file overwrites** **Status:** pending **Group:** **Created:** Fri Mar 15, 2013 10:43 PM UTC by Jakub Wilk **Last Updated:** Sat Mar 16, 2013 05:57 PM UTC **Owner:** nobody A Debian user complained that if you use a wildcard as input file name, and the wildcard unexpectedly expands to two names, then rst2html will overwrite your files: http://bugs.debian.org/654690 Would if be possible to add an option for not overwriting output files, that you could add to your configuration file, and later override from command line if needed? --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.