Message314277
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"). |
|
Date |
User |
Action |
Args |
2018-03-22 17:56:36 | rbu | set | recipients:
+ rbu |
2018-03-22 17:56:36 | rbu | set | messageid: <1521741396.21.0.467229070634.issue33123@psf.upfronthosting.co.za> |
2018-03-22 17:56:36 | rbu | link | issue33123 messages |
2018-03-22 17:56:36 | rbu | create | |
|