[Python-Dev] If you thought there were too many PEPs...

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Mon, 28 Aug 2000 09:30:23 +0300 (IDT)


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?

1. Yes.
2. After the feature freeze.
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no IGLU cabal.
http://advogato.org/person/moshez