> 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/)
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