Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Py3k warnings to os.path.walk | Benjamin Peterson | 2008-05-09 | 1 | -1/+2 |
| | |||||
* | Bug #1115886: os.path.splitext('.cshrc') gives now ('.cshrc', ''). | Martin v. Löwis | 2007-03-07 | 1 | -11/+3 |
| | |||||
* | - Move functions common to all path modules into genericpath.py and have the | Jack Diederich | 2006-08-26 | 1 | -62/+1 |
| | | | | | OS speicifc path modules import them. - Have os2emxpath import common functions fron ntpath instead of using copies | ||||
* | Bug #1266283: lexists() is not exported from os.path | Georg Brandl | 2005-08-22 | 1 | -1/+1 |
| | |||||
* | patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc. | Georg Brandl | 2005-08-03 | 1 | -8/+8 |
| | |||||
* | Whitespace normalization. | Johannes Gijsbers | 2004-08-30 | 1 | -1/+1 |
| | |||||
* | Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵ | Johannes Gijsbers | 2004-08-30 | 1 | -1/+13 |
| | | | | in glob.glob. | ||||
* | Feature request #935915: Add os.path.devnull. | Martin v. Löwis | 2004-06-08 | 1 | -1/+2 |
| | |||||
* | Getting rid of macfs. | Jack Jansen | 2003-02-27 | 1 | -4/+4 |
| | |||||
* | 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. | ||||
* | Whitespace normalization. | Tim Peters | 2003-01-29 | 1 | -4/+4 |
| | |||||
* | Added ismount(). | Jack Jansen | 2003-01-15 | 1 | -0/+5 |
| | | | | Fixes #661762, bugfix candidate. | ||||
* | Fix SF #659228, 'realpath' function missing from os.path | Neal Norwitz | 2003-01-03 | 1 | -1/+1 |
| | | | | | | | 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 |
| | |||||
* | 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. | ||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -8/+5 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2002-05-23 | 1 | -13/+13 |
| | |||||
* | whitespace fixup. test__all__ and test_sundry were failing | Anthony Baxter | 2002-04-23 | 1 | -1/+1 |
| | | | | for me on linux because of the inconsistent whitespace. | ||||
* | Fixes based on ideas from Christopher Smith: | Jack Jansen | 2002-04-22 | 1 | -5/+21 |
| | | | | | | | | - islink() now returns true for alias files - walk() no longer follows aliases while traversing - realpath() implemented, returning an alias-free pathname. As this could conceivably break existing code I think it isn't a bugfix candidate. | ||||
* | Partial introduction of bools where appropriate. | Guido van Rossum | 2002-04-07 | 1 | -2/+2 |
| | |||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 1 | -3/+3 |
| | |||||
* | Use docstrings for exception classes | Neal Norwitz | 2002-03-31 | 1 | -1/+2 |
| | |||||
* | Stop using string exceptions | Neal Norwitz | 2002-03-31 | 1 | -1/+1 |
| | |||||
* | SF bug [#469732] os.path.walk docstring inconsistent. | Tim Peters | 2001-10-10 | 1 | -7/+13 |
| | | | | | 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! | ||||
* | SF patch #461781 by Chris Lawrence: os.path.realpath - Resolve symlinks: | Guido van Rossum | 2001-09-17 | 1 | -0/+3 |
| | | | | | | | | | | | | | | 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' | ||||
* | Typo fix (spelling mistake in error message). | Greg Ward | 2001-08-08 | 1 | -1/+1 |
| | |||||
* | a few more modules get __all__ | Skip Montanaro | 2001-01-24 | 1 | -0/+4 |
| | |||||
* | 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 | -7/+7 |
| | | | | | | Never assume that os.sep is for the module-specific platform; use the right separator character directly. Fix some minor style consistency nits. | ||||
* | Restored commonprefix() semantics. | Jack Jansen | 2000-08-23 | 1 | -23/+13 |
| | |||||
* | Rewrite of normpath() by Corran Webster, so trailing :s are removed | Jack Jansen | 2000-08-06 | 1 | -32/+23 |
| | | | | (except for : and volume:, where they are needed). | ||||
* | fixed semantics of commonprefix to work by path elements instead of | Skip Montanaro | 2000-07-12 | 1 | -0/+23 |
| | | | | characters. | ||||
* | getatime() returned the mtime instead of the atime. | Guido van Rossum | 2000-07-01 | 1 | -1/+1 |
| | | | | Similar to an old bug in ntpath.py. | ||||
* | More trivial comment -> docstring transformations by Ka-Ping Yee, | Guido van Rossum | 2000-02-04 | 1 | -147/+145 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | getsize(), getatime(), getmtime(): | Fred Drake | 1999-07-23 | 1 | -3/+3 |
| | | | | | | | Constants from stat module were imported using "import *"; don't access them via stat.ST_*! Reported by that other vR. ;-) | ||||
* | Add abspath() | Guido van Rossum | 1999-01-29 | 1 | -0/+7 |
| | |||||
* | Added getsize(), getmtime(), getatime() | Guido van Rossum | 1998-07-24 | 1 | -0/+18 |
| | |||||
* | Instead of 'import mac', use 'import os' -- this way, the path syntax | Guido van Rossum | 1998-03-03 | 1 | -9/+9 |
| | | | | | manipulation routines can be used on non-Mac platforms (e.g. to manipulate pathnames in a Mac specific archive). | ||||
* | Fix for boundary case (Jack) | Guido van Rossum | 1997-05-21 | 1 | -1/+4 |
| | |||||
* | 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 | -12/+18 |
| | |||||
* | Added splitext() | Guido van Rossum | 1996-07-23 | 1 | -0/+22 |
| | |||||
* | Added (dummy) expanduser and expandvar methods | Jack Jansen | 1995-12-15 | 1 | -0/+11 |
| | |||||
* | added normpath() and splitdrive() | Guido van Rossum | 1995-08-10 | 1 | -39/+45 |
| | |||||
* | Added missing walk() function | Jack Jansen | 1995-08-07 | 1 | -0/+19 |
| | |||||
* | changes for the Mac | Guido van Rossum | 1995-01-27 | 1 | -0/+7 |
| | |||||
* | * Lib/linecache.py: don't crash on empty filename | Guido van Rossum | 1994-08-23 | 1 | -1/+1 |
| | | | | | | | | | | | * Lib/macpath.py: don't return trailing colon for dirname() (XXX won't do for volume names -- but otherwise glob(':*:*.py') loops forever) * Lib/traceback.py: print SyntaxError correctly * Lib/stat.py: moved to posixstat.py; added macstat.py which has the constants for the Mac; and created new stat.py which includes the right one * Lib/urllib.py: fix caching bug (by disabling the cache) | ||||
* | * change default line numbers for 'list' in pdb.py | Guido van Rossum | 1992-11-05 | 1 | -0/+12 |
| | | | | | | | | | * changed eval() into getattr() in cmd.py * added dirname(), basename() and (dummy) normath() to macpath.py * renamed nntp.py to nntplib.py * Made string.index() compatible with strop.index() * Make string.atoi('') raise string.atoi_error rather than ValueError * Added dirname() and normpath() to posixpath. | ||||
* | 'cat' no longer exists | Guido van Rossum | 1992-03-31 | 1 | -3/+1 |
| |