[Python-Dev] If you thought there were too many PEPs... (original) (raw)

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sun, 27 Aug 2000 17:20:08 +0200


thomas wrote:

My personal favorite, up to now, is RFC 28: Perl should stay Perl.

number 29 is also a good one: don't ever add an alias for "unlink" (written by someone who have never ever read the POSIX or ANSI C standards ;-)

::: btw, Python's remove/unlink implementation is slightly broken -- they both map to unlink, but that's not the right way to do it:

from SUSv2:

int remove(const char *path);

If path does not name a directory, remove(path)
is equivalent to unlink(path). 

If path names a directory, remove(path) is equi-
valent to rmdir(path). 

should I fix this?