Victor Stinner
46287f551b
Merged revisions 84701,84784 via svnmerge from
...
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).
........
2010-09-13 20:31:34 +00:00
Florent Xicluna
cf82fa6f91
Issue #8179 : Fix macpath.realpath() on a non-existing path.
2010-03-21 12:27:20 +00:00
Ezio Melotti
4cc80ca921
#3426 : os.path.abspath now returns unicode when its arg is unicode.
2010-02-20 08:09:39 +00:00
Philip Jenvey
d846f1d4c2
#4351 : more appropriate DeprecationWarning stacklevels
2009-05-08 02:28:39 +00:00
Benjamin Peterson
0893a0a961
Add Py3k warnings to os.path.walk
2008-05-09 00:27:01 +00:00
Martin v. Löwis
05c075d629
Bug #1115886 : os.path.splitext('.cshrc') gives now ('.cshrc', '').
2007-03-07 11:04:33 +00:00
Jack Diederich
7b60464ceb
- Move functions common to all path modules into genericpath.py and have the
...
OS speicifc path modules import them.
- Have os2emxpath import common functions fron ntpath instead of using copies
2006-08-26 18:42:06 +00:00
Georg Brandl
f0de6a18bb
Bug #1266283 : lexists() is not exported from os.path
2005-08-22 18:02:59 +00:00
Georg Brandl
649f8e7de2
patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc.
2005-08-03 07:30:12 +00:00
Johannes Gijsbers
d2a1aa4b1e
Whitespace normalization.
2004-08-30 13:39:50 +00:00
Johannes Gijsbers
ae882f7984
Patch #941486 : add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob.
2004-08-30 10:19:56 +00:00
Martin v. Löwis
bdec50f027
Feature request #935915 : Add os.path.devnull.
2004-06-08 08:29:33 +00:00
Jack Jansen
98fc683719
Getting rid of macfs.
2003-02-27 23:18:46 +00:00
Skip Montanaro
117910dc44
Migrate definitions of several platform-dependent path-related variables
...
into the relevant path modules. See patch #686397 .
2003-02-14 19:35:31 +00:00
Tim Peters
2c60f7a136
Whitespace normalization.
2003-01-29 03:49:43 +00:00
Jack Jansen
791f7d4783
Added ismount().
...
Fixes #661762 , bugfix candidate.
2003-01-15 22:45:48 +00:00
Neal Norwitz
61cdac6d3d
Fix SF #659228 , 'realpath' function missing from os.path
...
Also added realpath = abspath for os2emx, similar to windows/mac
which also don't really implement realpath.
Backport candidate, I think?
2003-01-03 18:01:57 +00:00
Martin v. Löwis
96a60e4af5
Patch #658927 : Add getctime to os.path.
...
Document that getatime and getmtime may return floats.
2002-12-31 13:11:54 +00:00
Martin v. Löwis
de3337913f
Patch #536661 : Improve performance of splitext. Add test_macpath.
2002-12-12 20:30:20 +00:00
Mark Hammond
8696ebcd28
Add os.path.supports_unicode_filenames for all platforms,
...
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.
2002-10-08 02:44:31 +00:00
Raymond Hettinger
32200aeac6
Replaced obsolete stat module constants with equivalent attributes
2002-06-01 19:51:15 +00:00
Tim Peters
8ac1495a6a
Whitespace normalization.
2002-05-23 15:15:30 +00:00
Anthony Baxter
ae7639dbfb
whitespace fixup. test__all__ and test_sundry were failing
...
for me on linux because of the inconsistent whitespace.
2002-04-23 02:38:39 +00:00
Jack Jansen
992d58b770
Fixes based on ideas from Christopher Smith:
...
- 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.
2002-04-22 13:55:43 +00:00
Guido van Rossum
8ca162f417
Partial introduction of bools where appropriate.
2002-04-07 06:36:23 +00:00