A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2000-August/008832.html below:

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

[Python-Dev] If you thought there were too many PEPs... [Python-Dev] If you thought there were too many PEPs...Guido van Rossum guido@beopen.com
Mon, 28 Aug 2000 06:16:18 -0500
> > 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.

Agreed.  Note that the correct fix is to use remove() if it exists and
emulate it if it doesn't.

On Windows, I believe remove() exists but probably not with the above
semantics so it should be emulated.

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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4