[Python-Dev] If you thought there were too many PEPs... (original) (raw)
Moshe Zadka Moshe Zadka moshez@math.huji.ac.il
Mon, 28 Aug 2000 09:30:23 +0300 (IDT)
- Previous message: os.remove() behaviour on empty directories (was Re: [Python-Dev] If you thought there were too many PEPs...)
- Next message: [Python-Dev] If you thought there were too many PEPs...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 27 Aug 2000, Fredrik Lundh wrote:
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?
- Yes.
Moshe Zadka < After the feature freeze.moshez@math.huji.ac.il> There is no IGLU cabal. http://advogato.org/person/moshez
- Previous message: os.remove() behaviour on empty directories (was Re: [Python-Dev] If you thought there were too many PEPs...)
- Next message: [Python-Dev] If you thought there were too many PEPs...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]