summaryrefslogtreecommitdiffstats
path: root/Lib/macpath.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21840: Fixed expanding unicode variables of form $var inSerhiy Storchaka2015-02-131-1/+2
| | | | | posixpath.expandvars(). Fixed all os.path implementations on unicode-disabled builds.
* Issue #9850: Fixed macpath.join() for empty first component. Patch bySerhiy Storchaka2014-09-271-1/+1
| | | | Oleg Oshmyan.
* Merged revisions 84701,84784 via svnmerge fromVictor Stinner2010-09-131-1/+1
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84701 | victor.stinner | 2010-09-11 02:22:12 +0200 (sam., 11 sept. 2010) | 5 lines Issue #767645: fix os.path.supports_unicode_filenames definition os.listdir(str) always returns unicode and it can return non-ascii filenames even if supports_unicode_filenames is False. ........ r84784 | victor.stinner | 2010-09-13 21:41:36 +0200 (lun., 13 sept. 2010) | 2 lines Issue #767645: Set os.path.supports_unicode_filenames to True on Mac OS X (macpath module). ........
* Issue #8179: Fix macpath.realpath() on a non-existing path.Florent Xicluna2010-03-211-1/+4
|
* #3426: os.path.abspath now returns unicode when its arg is unicode.Ezio Melotti2010-02-201-1/+5
|
* #4351: more appropriate DeprecationWarning stacklevelsPhilip Jenvey2009-05-081-1/+2
|
* Add Py3k warnings to os.path.walkBenjamin Peterson2008-05-091-1/+2
|
* Bug #1115886: os.path.splitext('.cshrc') gives now ('.cshrc', '').Martin v. Löwis2007-03-071-11/+3
|
* - Move functions common to all path modules into genericpath.py and have theJack Diederich2006-08-261-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.pathGeorg Brandl2005-08-221-1/+1
|
* patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc.Georg Brandl2005-08-031-8/+8
|
* Whitespace normalization.Johannes Gijsbers2004-08-301-1/+1
|
* Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵Johannes Gijsbers2004-08-301-1/+13
| | | | in glob.glob.
* Feature request #935915: Add os.path.devnull.Martin v. Löwis2004-06-081-1/+2
|
* Getting rid of macfs.Jack Jansen2003-02-271-4/+4
|
* Migrate definitions of several platform-dependent path-related variablesSkip Montanaro2003-02-141-0/+10
| | | | into the relevant path modules. See patch #686397.
* Whitespace normalization.Tim Peters2003-01-291-4/+4
|
* Added ismount().Jack Jansen2003-01-151-0/+5
| | | | Fixes #661762, bugfix candidate.
* Fix SF #659228, 'realpath' function missing from os.pathNeal Norwitz2003-01-031-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öwis2002-12-311-1/+4
| | | | Document that getatime and getmtime may return floats.
* Patch #536661: Improve performance of splitext. Add test_macpath.Martin v. Löwis2002-12-121-14/+5
|
* Add os.path.supports_unicode_filenames for all platforms,Mark Hammond2002-10-081-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 attributesRaymond Hettinger2002-06-011-8/+5
|
* Whitespace normalization.Tim Peters2002-05-231-13/+13
|
* whitespace fixup. test__all__ and test_sundry were failingAnthony Baxter2002-04-231-1/+1
| | | | for me on linux because of the inconsistent whitespace.
* Fixes based on ideas from Christopher Smith:Jack Jansen2002-04-221-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 Rossum2002-04-071-2/+2
|
* Convert a pile of obvious "yes/no" functions to return bool.Tim Peters2002-04-041-3/+3
|
* Use docstrings for exception classesNeal Norwitz2002-03-311-1/+2
|
* Stop using string exceptionsNeal Norwitz2002-03-311-1/+1
|
* SF bug [#469732] os.path.walk docstring inconsistent.Tim Peters2001-10-101-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 Rossum2001-09-171-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 Ward2001-08-081-1/+1
|
* a few more modules get __all__Skip Montanaro2001-01-241-0/+4
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-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 Drake2000-09-281-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 Jansen2000-08-231-23/+13
|
* Rewrite of normpath() by Corran Webster, so trailing :s are removedJack Jansen2000-08-061-32/+23
| | | | (except for : and volume:, where they are needed).
* fixed semantics of commonprefix to work by path elements instead ofSkip Montanaro2000-07-121-0/+23
| | | | characters.
* getatime() returned the mtime instead of the atime.Guido van Rossum2000-07-011-1/+1
| | | | Similar to an old bug in ntpath.py.
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-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 Drake1999-07-231-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 Rossum1999-01-291-0/+7
|
* Added getsize(), getmtime(), getatime()Guido van Rossum1998-07-241-0/+18
|
* Instead of 'import mac', use 'import os' -- this way, the path syntaxGuido van Rossum1998-03-031-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 Rossum1997-05-211-1/+4
|
* join(): Wax the incorrect leading commentBarry Warsaw1997-02-181-4/+0
|
* join(): join one or more path componentsBarry Warsaw1997-02-181-12/+18
|
* Added splitext()Guido van Rossum1996-07-231-0/+22
|
* Added (dummy) expanduser and expandvar methodsJack Jansen1995-12-151-0/+11
|