Author rbu
Recipients rbu
Date 2018-03-22.17:56:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521741396.21.0.467229070634.issue33123@psf.upfronthosting.co.za>
In-reply-to
Content
Similarly to how several pathlib file creation functions have an "exists_ok" parameter, we should introduce "missing_ok" that makes removal functions not raise an exception when a file or directory is already absent.

IMHO, this should cover Path.unlink and Path.rmdir.

Note, Path.resolve() has a "strict" parameter since 3.6 that does the same thing. Naming this of this new parameter tries to be consistent with the "exists_ok" parameter as that is more explicit about what it does (as opposed to "strict").
History
Date User Action Args
2018-03-22 17:56:36rbusetrecipients: + rbu
2018-03-22 17:56:36rbusetmessageid: <1521741396.21.0.467229070634.issue33123@psf.upfronthosting.co.za>
2018-03-22 17:56:36rbulinkissue33123 messages
2018-03-22 17:56:36rbucreate