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

Guido van Rossum guido@beopen.com
Sun, 27 Aug 2000 13:28:46 -0500


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?

That's a new one -- didn't exist when I learned Unix.

I guess we can fix this in 2.1.

--Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)