47 Commits

Author SHA1 Message Date
Georg Brandl
4e0992d570 Bug #1002398: The documentation for os.path.sameopenfile now correctly
refers to file descriptors, not file objects.
   (backport from rev. 50974)
2006-07-30 11:08:48 +00:00
Andrew M. Kuchling
9526e32809 [Patch #1068277] Clarify that os.path.exists() can return False depending on permissions. 2006-07-29 19:52:08 +00:00
Georg Brandl
6063368f6e Bug #1475009: clarify ntpath.join behavior with absolute components
(backport from rev. 45781)
2006-04-28 16:36:58 +00:00
Georg Brandl
ea901a1f38 Bug #1445901: os.path.realpath() is available on Win/Mac too.
(backport from rev. 42923)
2006-03-08 20:59:12 +00:00
Georg Brandl
d82374d242 backport bug [ 1274828 ] splitunc not documented 2005-09-14 20:42:04 +00:00
Georg Brandl
e591e04623 backport bug [ 1193849 ] os.path.expanduser documentation wrt. empty $HOME 2005-08-24 07:27:00 +00:00
Brett Cannon
8f6cd73db3 Remove outdated comments about Macintosh for expanduser and expandvars. 2004-12-22 05:41:56 +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
Johannes Gijsbers
b112d6ed78 bug 990669: os.path.normpath may alter the meaning of a path if it contains
symbolic links. This has been documented in a comment since 1992, but is now in
the library reference as well.
2004-08-14 14:41:32 +00:00
Raymond Hettinger
c43a7e7c37 SF bug #827902: ctime is not creation time
New fix for this bug recognizes differing definitions on various systems.
2003-10-29 00:46:19 +00:00
Raymond Hettinger
8476c4df92 SF bug #827902: ctime is not creation time
Document the correct definition of os.path.getctime()
2003-10-27 20:00:36 +00:00
Fred Drake
9f48045ec0 Use a simpler \note instead of a "See also" section to refer to the
os.walk() generator.
2003-04-25 15:12:47 +00:00
Neal Norwitz
cabf56f8b4 Fix markup 2003-04-25 14:52:41 +00:00
Tim Peters
c4e0940042 New generator os.walk() does a bit more than os.path.walk() does, and
seems much easier to use.  Code, docs, NEWS, and additions to test_os.py
(testing this sucker is a bitch!).
2003-04-25 07:11:48 +00:00
Fred Drake
604ade4ebd supports_unicode_filenames was not in the right location. 2003-02-04 19:13:07 +00:00
Neal Norwitz
f3edea5b90 Use the name (path) specified in the parameter list 2002-12-31 13:38:28 +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
0479104a91 Patch #651006: Better explain what component might be empty. 2002-12-11 12:55:53 +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
Fred Drake
c1ddc505d9 Minor revision to the "\\" patch, including updating the docs a little to
accomodate the fact that they are more general now that they are for the
os.path module and not just posixpath.

This and the previous patch should be combined and applied to the 2.2-maint
branch.
2002-09-12 18:01:26 +00:00
Skip Montanaro
c12909bcc6 add note about os.path.join and drive letters on Windows. 2002-09-12 17:39:56 +00:00
Fred Drake
95fa4ddf7b Change the markup a bit more; the parameter was not marked as \var in the
sample code, and the note was marked as a logical thing.
2002-08-07 12:39:33 +00:00
Steve Holden
63d5bead18 Fix markup errors. 2002-08-07 12:01:41 +00:00
Steve Holden
545092b063 Add comment about os.path.walk()'s behavior with symbolic links. 2002-08-06 16:07:07 +00:00
Neal Norwitz
d3dab2b192 Update doc to reflect Tim's changes to bool. 2002-04-05 02:21:09 +00:00