Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #1266283: lexists() is not exported from os.path | Georg Brandl | 2005-08-22 | 1 | -2/+2 |
| | |||||
* | Bug #1213894: os.path.realpath didn't resolve symlinks that were the first | Georg Brandl | 2005-06-03 | 1 | -1/+1 |
| | | | | component of the path. | ||||
* | Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵ | Johannes Gijsbers | 2004-08-30 | 1 | -0/+11 |
| | | | | in glob.glob. | ||||
* | Whitespace normalization. | Tim Peters | 2004-08-20 | 1 | -3/+3 |
| | |||||
* | bug #990669: os.path.realpath() will resolve symlinks before normalizing the | Johannes Gijsbers | 2004-08-14 | 1 | -7/+9 |
| | | | | | | | | path, as normalizing the path may alter the meaning of the path if it contains symlinks. Also add tests for infinite symlink loops and parent symlinks that need to be resolved. | ||||
* | Use isabs() in conditional, not abspath | Andrew M. Kuchling | 2004-08-02 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization, via reindent.py. | Tim Peters | 2004-07-18 | 1 | -1/+1 |
| | |||||
* | Remove tabs introduced in last commit. | Brett Cannon | 2004-07-11 | 1 | -4/+4 |
| | |||||
* | posixpath.realpath() now detects symlink loops and returns the path just before | Brett Cannon | 2004-07-10 | 1 | -6/+30 |
| | | | | | | the loop starts. Closes bug #930024. Thanks AM Kuchling. | ||||
* | Feature request #935915: Add os.path.devnull. | Martin v. Löwis | 2004-06-08 | 1 | -1/+2 |
| | |||||
* | fix various descriptions of "ctime" | Fred Drake | 2004-05-12 | 1 | -1/+1 |
| | | | | (closes SF patch #870287) | ||||
* | SF Patch 681780: Faster commonprefix (OS independent) | Raymond Hettinger | 2003-12-31 | 1 | -10/+7 |
| | | | | | | | Improved based on discussions at: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252177 http://groups.google.com/groups?th=fc7b54f11af6b24e&seekm=bss2so$om$00$1@news.t-online.com | ||||
* | SF patch #834015: Remove imports of unused modules | Raymond Hettinger | 2003-11-02 | 1 | -1/+0 |
| | | | | (Contributed by George Yoshida.) | ||||
* | back out the darwin supports_unicode_filenames patch; it causes deep ↵ | Just van Rossum | 2003-07-17 | 1 | -4/+1 |
| | | | | problems with the tests | ||||
* | [ 767645 ] correctly set the os.path.supports_unicode_filenames flag for OSX | Just van Rossum | 2003-07-11 | 1 | -1/+5 |
| | |||||
* | Use find() instead of looping over the string in expanduser(). | Walter Dörwald | 2003-06-19 | 1 | -4/+4 |
| | | | | From SF patch #757058. | ||||
* | Modernize Lib/posixpath.py: Use startswith(), endswith(), rstrip(), | Walter Dörwald | 2003-06-17 | 1 | -15/+16 |
| | | | | | | struct_passwd attributes and +=. From SF patch #755245. | ||||
* | Migrate definitions of several platform-dependent path-related variables | Skip Montanaro | 2003-02-14 | 1 | -0/+10 |
| | | | | into the relevant path modules. See patch #686397. | ||||
* | Fix SF #659228, 'realpath' function missing from os.path | Neal Norwitz | 2003-01-03 | 1 | -1/+2 |
| | | | | | | | Also added realpath = abspath for os2emx, similar to windows/mac which also don't really implement realpath. Backport candidate, I think? | ||||
* | Patch #658927: Add getctime to os.path. | Martin v. Löwis | 2002-12-31 | 1 | -1/+4 |
| | | | | Document that getatime and getmtime may return floats. | ||||
* | Patch #536661: Improve performance of splitext. Add test_macpath. | Martin v. Löwis | 2002-12-12 | 1 | -14/+5 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2002-11-09 | 1 | -1/+0 |
| | |||||
* | Add os.path.supports_unicode_filenames for all platforms, | Mark Hammond | 2002-10-08 | 1 | -1/+4 |
| | | | | | | sys.getwindowsversion() on Windows (new enahanced Tim-proof <wink> version), and fix test_pep277.py in a few minor ways. Including doc and NEWS entries. | ||||
* | SF # 555779, import user doesn't work with CGIs | Neal Norwitz | 2002-09-05 | 1 | -2/+4 |
| | |||||
* | Remove another reference to stat.ST_MODE | Neal Norwitz | 2002-06-06 | 1 | -1/+1 |
| | |||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -15/+12 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -2/+2 |
| | |||||
* | Partial introduction of bools where appropriate. | Guido van Rossum | 2002-04-07 | 1 | -4/+4 |
| | |||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 1 | -7/+7 |
| | |||||
* | SF bug [#469732] os.path.walk docstring inconsistent. | Tim Peters | 2001-10-10 | 1 | -4/+14 |
| | | | | | We have 5 implementations of walk(), and 5 different docstrings. Combined 'em. Let's see how long it takes before they're all different again! | ||||
* | Whitespace normalization. | Tim Peters | 2001-09-18 | 1 | -1/+1 |
| | |||||
* | SF patch #461781 by Chris Lawrence: os.path.realpath - Resolve symlinks: | Guido van Rossum | 2001-09-17 | 1 | -0/+21 |
| | | | | | | | | | | | | | | Once upon a time, I put together a little function that tries to find the canonical filename for a given pathname on POSIX. I've finally gotten around to turning it into a proper patch with documentation. On non-POSIX, I made it an alias for 'abspath', as that's the behavior on POSIX when no symlinks are encountered in the path. Example: >>> os.path.realpath('/usr/bin/X11/X') '/usr/X11R6/bin/X' | ||||
* | In walk(), don't die when os.lstat() raises os.error, e.g. because a | Guido van Rossum | 2001-04-16 | 1 | -1/+4 |
| | | | | | | | | | file was deleted by a previous call to the visitor function. This used to be the behavior in 1.5.2 and before, but a patch to avoid making two stat() calls accidentally broke this in 2.0. Moshe, this would be a good one for 2.0.1 too! | ||||
* | __all__ for several more modules | Skip Montanaro | 2001-02-12 | 1 | -0/+5 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | Fixed posixpath.normpath() to respect two leading slashes, but | Marc-André Lemburg | 2001-01-29 | 1 | -4/+9 |
| | | | | | turn three or more into a single slash. (This is in sync with POSIX susv2 according to Fredrik.) | ||||
* | Whitespace normalization. | Tim Peters | 2001-01-15 | 1 | -10/+10 |
| | |||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -4/+4 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Minor style nits. | Fred Drake | 2000-09-28 | 1 | -10/+10 |
| | |||||
* | Remove imports of string when string methods will do. | Fred Drake | 2000-09-28 | 1 | -5/+3 |
| | |||||
* | revert semantics of commonprefix to work character-by-character | Skip Montanaro | 2000-08-22 | 1 | -7/+3 |
| | |||||
* | added rewritten normpath from Moshe Zadka that does the right thing with | Skip Montanaro | 2000-07-19 | 1 | -23/+18 |
| | | | | paths containing .. | ||||
* | split and join on "/" in commonprefix | Skip Montanaro | 2000-07-16 | 1 | -6/+3 |
| | |||||
* | fixed semantics of commonprefix to work by path elements instead of | Skip Montanaro | 2000-07-12 | 1 | -3/+10 |
| | | | | characters. | ||||
* | typos fixed by Rob Hooft | Jeremy Hylton | 2000-06-28 | 1 | -2/+2 |
| | |||||
* | Remove some redundant logic from walk() -- there's no need to check | Guido van Rossum | 2000-02-29 | 1 | -2/+0 |
| | | | | for "." and "..", since listdir() no longer returns those. | ||||
* | Patch by Gerrit Holl to avoid doing two stat() calls in a row in walk(). | Guido van Rossum | 2000-02-28 | 1 | -1/+2 |
| | |||||
* | Mark Favas discovered this: getatime() accidentally returned the MTIME! | Guido van Rossum | 2000-02-24 | 1 | -1/+1 |
| | | | | This fixes PR#211. | ||||
* | More trivial comment -> docstring transformations by Ka-Ping Yee, | Guido van Rossum | 2000-02-04 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | | | who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay. | ||||
* | Correct typo in walk.__doc__ reported by Francois Pinard. | Guido van Rossum | 1999-11-02 | 1 | -1/+1 |
| |