Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | abspath(): Fix inconsistent indentation. | Fred Drake | 2001-05-15 | 1 | -1/+1 |
| | |||||
* | Add support for Windows using "mbcs" as the default Unicode encoding when ↵ | Mark Hammond | 2001-05-13 | 1 | -13/+4 |
| | | | | dealing with the file system. As discussed on python-dev and in patch 410465. | ||||
* | added several more __all__ lists | Skip Montanaro | 2001-02-06 | 1 | -0/+4 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-15 | 1 | -3/+3 |
| | |||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -3/+3 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Avoid import of string module; it is only needed for expandvars(). | Fred Drake | 2000-09-28 | 1 | -22/+21 |
| | | | | | | Never assume that os.sep is for the module-specific platform; use the right separator character directly. Fix some minor style consistency nits. | ||||
* | Part of SF patch 101481: on Windows, os.path.join("a:", "b") should yield | Tim Peters | 2000-09-19 | 1 | -1/+1 |
| | | | | "a:b", not "a:/b". Similar change was made to posixmodule.c earlier. | ||||
* | revert semantics of commonprefix to work character-by-character | Skip Montanaro | 2000-08-22 | 1 | -8/+3 |
| | |||||
* | Fix for Bug #110673: os.abspatth() now always returns os.getcwd() on ↵ | Mark Hammond | 2000-08-14 | 1 | -4/+7 |
| | | | | Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName()) | ||||
* | * split on / or \ | Skip Montanaro | 2000-07-17 | 1 | -3/+5 |
| | | | | * case insensitive comparison | ||||
* | forgot to change copy.copy(m) to m[:] | Skip Montanaro | 2000-07-13 | 1 | -2/+2 |
| | |||||
* | fixed semantics of commonprefix to work by path elements instead of | Skip Montanaro | 2000-07-12 | 1 | -4/+7 |
| | | | | characters. | ||||
* | Fix bug #345 reported by David Bolen <db3l@fitlinxx.com>: | Fred Drake | 2000-07-01 | 1 | -1/+1 |
| | | | | | getatime() returned the mtime instead of the atime. Similar to an old bug in posixpath.py. | ||||
* | 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 |