[New-bugs-announce] [issue46791] Allow os.remove to defer to rmdir
Dan Snider
report at bugs.python.org
Fri Feb 18 12:55:13 EST 2022
New submission from Dan Snider <mr.assume.away at gmail.com>:
It appears sometime recently-ish that POSIX updated remove to the following:
#include <stdio.h>
int remove(const char *path);
If path does not name a directory, remove(path) shall be equivalent to unlink(path). If path names a directory, remove(path) shall be equivalent to rmdir(path).
----------
messages: 413499
nosy: bup
priority: normal
severity: normal
status: open
title: Allow os.remove to defer to rmdir
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46791>
_______________________________________
More information about the New-bugs-announce
mailing list