Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Typo in a comment: "wheter" --> "whether" | Fred Drake | 2000-02-17 | 1 | -1/+1 |
| | |||||
* | Optimize abspath() slightly for the case that win32api can't be | Guido van Rossum | 2000-02-02 | 1 | -6/+11 |
| | | | | imported; in that case, abspath is replaced by a fallback version. | ||||
* | In abspath(), always use normpath(), even when win32api is available | Guido van Rossum | 1999-11-30 | 1 | -3/+3 |
| | | | | | (and even when it fails). This avoids the problem where a trailing separator is not removed when win32api.GetFullPathName() is used. | ||||
* | Correct typo in walk.__doc__ reported by Francois Pinard. | Guido van Rossum | 1999-11-02 | 1 | -1/+1 |
| | |||||
* | Withdraw the UNC support from splitdrive(). Instead, a new function | Guido van Rossum | 1999-04-06 | 1 | -8/+26 |
| | | | | | | | | | | | | | | | splitunc() parses UNC paths. The contributor of the UNC parsing in splitdrive() doesn't like it, but I haven't heard a good reason to keep it, and it causes some problems. (I think there's a philosophical problem -- to me, the split*() functions are purely syntactical, and the fact that \\foo is not a valid path doesn't mean that it shouldn't be considered an absolute path.) Also (quite separately, but strangely related to the philosophical issue above) fix abspath() so that if win32api exists, it doesn't fail when the path doesn't actually exist -- if GetFullPathName() fails, fall back on the old strategy (join with getcwd() if neccessary, and then use normpath()). | ||||
* | New code for split() by Tim Peters, behaves more like posixpath.split(). | Guido van Rossum | 1999-03-19 | 1 | -19/+12 |
| | |||||
* | New splitdrive() that knows about UNC paths (e.g., network paths like | Guido van Rossum | 1999-02-03 | 1 | -26/+50 |
| | | | | | | \\host\mountpoint\dir\file). By Larry Hastings. Also cleaned up some docstrings. | ||||
* | Use win32api.GetFullPathName(path) if it exists to implement abspath(). | Guido van Rossum | 1999-01-29 | 1 | -3/+7 |
| | |||||
* | Add abspath() | Guido van Rossum | 1999-01-29 | 1 | -0/+7 |
| | |||||
* | Added getsize(), getmtime(), getatime() | Guido van Rossum | 1998-07-24 | 1 | -0/+18 |
| | |||||
* | REMOVE samefile(), sameopenfile(), samestat() -- these cannot be made | Guido van Rossum | 1998-05-02 | 1 | -30/+0 |
| | | | | to work reliably (at least I wouldn't know how). | ||||
* | (1) Change normpath() to *not* also call normcase(). | Guido van Rossum | 1998-02-18 | 1 | -7/+7 |
| | | | | | | | (2) Fix normcase() to use string.lower() and string.replace() -- it turns out that the table constructed for translate() didn't work in locales that have a different number of lowercase and uppercase letters. | ||||
* | Fix to ismount(). Can't remember who told me this. | Guido van Rossum | 1998-01-19 | 1 | -2/+3 |
| | |||||
* | Added doc strings and reindented according to new standard, without tabs. | Guido van Rossum | 1997-12-05 | 1 | -189/+223 |
| | |||||
* | Rewrite normcase() using string.translate... | Guido van Rossum | 1997-08-12 | 1 | -14/+6 |
| | |||||
* | Support $HOME in expanduser(). | Guido van Rossum | 1997-06-02 | 1 | -6/+12 |
| | | | | (Who'd thought that *anyone* would be interested in writing ~/foo on NT :-) | ||||
* | join(): Wax the incorrect leading comment | Barry Warsaw | 1997-02-18 | 1 | -4/+0 |
| | |||||
* | join(): join one or more path components | Barry Warsaw | 1997-02-18 | 1 | -7/+12 |
| | |||||
* | Fix splitext() to go up to the last dot, not the first. | Guido van Rossum | 1997-01-22 | 1 | -3/+8 |
| | |||||
* | Don't do truncation to 8+3 format -- this is used on NT file systems! | Guido van Rossum | 1996-08-26 | 1 | -9/+2 |
| | |||||
* | Don't use 'false'; use '0'. | Guido van Rossum | 1996-08-08 | 1 | -1/+1 |
| | |||||
* | same thing as for dospath, plus HOMEDRIVE/HOMEPATH support | Guido van Rossum | 1995-08-10 | 1 | -12/+11 |
| | |||||
* | Added ntpath.py (for os.py when used with Windows NT) | Guido van Rossum | 1994-02-24 | 1 | -0/+348 |