Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Yury Selivanov
de11561862
Further improve os.path.commonprefix() docs.
...
Patch by Serhiy Storchaka.
2015-08-19 09:53:28 -04:00
Yury Selivanov
80ac11f95f
docs: Improve docs for os.path.commonprefix
2015-08-17 23:43:43 -04:00
Serhiy Storchaka
3822093143
Issue #10395 : Added os.path.commonpath(). Implemented in posixpath and ntpath.
...
Based on patch by Rafik Draoui.
2015-03-31 15:31:53 +03:00
Zachary Ware
a13dab47cb
Issue #15414 : Clean and correct the os.path.join docs.
...
In particular, correctly describe the behavior of ntpath.join.
Based on a patch by Dave Sawyer.
2014-10-10 16:03:14 -05:00
Benjamin Peterson
f6f78e1d9d
clarify that islink only really works if python knows about symlinks ( closes #13143 )
...
Patch from Yayoi Ukai.
2014-06-22 17:59:35 -07:00
Benjamin Peterson
409a1be6cf
improve start default for relpath
2014-03-20 12:39:53 -05:00
Larry Hastings
3732ed2414
Merge in all documentation changes since branching 3.4.0rc1.
2014-03-15 21:13:56 -07:00
Serhiy Storchaka
0e90e99188
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:19:53 +02:00
Serhiy Storchaka
fbc1c26803
Issue #19795 : Improved markup of True/False constants.
2013-11-29 12:17:13 +02:00
Antoine Pitrou
31119e4f10
Issue #19673 : Add pathlib to the stdlib as a provisional module (PEP 428).
2013-11-22 17:38:12 +01:00
Serhiy Storchaka
690a6a95bd
Issue #19207 : Improved cross-references in the os, os.path, and posix modules
...
documentation.
2013-10-13 20:13:37 +03:00
Serhiy Storchaka
dab8354920
Issue #19207 : Improved cross-references in the os, os.path, and posix modules
...
documentation.
2013-10-13 20:12:43 +03:00
Georg Brandl
1cb28a1be8
merge with 3.3
2013-10-06 09:53:11 +02:00
Georg Brandl
f6324941f0
Clarify docs for os.path.getctime on Unix: it is the inode (metadata) change time
2013-10-06 09:52:55 +02:00
R David Murray
d0a03ad139
#18389 : Clarify that relpath does not access the file system.
...
Initial patch by Madison May.
2013-07-12 17:43:53 -04:00
R David Murray
ce10fab9f6
#18389 : Clarify that relpath does not access the file system.
...
Initial patch by Madison May.
2013-07-12 17:43:11 -04:00
Terry Jan Reedy
15cddb498e
Merge with 3.3
2013-03-17 15:29:19 -04:00
Terry Jan Reedy
b271727bad
Merge with 3.2
2013-03-17 15:28:52 -04:00
Terry Jan Reedy
f3460414d5
Issue #17415 : Trim trailing whitespace
2013-03-17 15:28:10 -04:00
Terry Jan Reedy
a52c2d6d2f
Merge with 3.3
2013-03-17 15:25:12 -04:00
Terry Jan Reedy
3380170ea5
Merge with 3.2
2013-03-17 15:22:00 -04:00
Terry Jan Reedy
ec6e132987
Issue #17415 : Clarify 'this' referent by moving containing sentence just after
...
the sentence referred to. Make other minor edits to improve flow.
2013-03-17 15:21:26 -04:00
R David Murray
4e62033b57
merge #16877 : Add mention that shell-style path expansions are not automatic.
2013-01-06 16:14:22 -05:00
R David Murray
e6dec98e45
merge #16877 : Add mention that shell-style path expansions are not automatic.
2013-01-06 16:13:51 -05:00
R David Murray
a4e700c040
#16877 : Add mention that shell-style path expansions are not automatic.
2013-01-06 16:13:10 -05:00
Brian Curtin
490b32a397
Fix #11939 . Set st_dev attribute on Windows to simplify os.path.samefile.
...
By setting the st_dev attribute, we can then remove some Windows-specific
code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py
so all platforms share the same implementation.
2012-12-26 07:03:03 -06:00
Andrew Svetlov
88a3e1f46b
Merge: use OSError instead of os.error in the docs.
2012-12-15 22:59:55 +02:00
Andrew Svetlov
618c2e13ca
Use OSError instead of os.error in the docs.
2012-12-15 22:59:24 +02:00
Chris Jerdonek
b48f4ea601
Merge from 3.3: add hyperlinks to some os.path function docs (issue #16552 ).
2012-11-25 20:42:00 -08:00
Chris Jerdonek
3b39d35eeb
Merge from 3.2: add hyperlinks to some os.path function docs (issue #16552 ).
2012-11-25 20:40:57 -08:00
Chris Jerdonek
0b502ff33b
Add hyperlinks to the docs of some os.path functions (issue #16552 ).
2012-11-25 20:38:01 -08:00
Jesus Cea
f6c2e894ae
#16135 : Removal of OS/2 support (Docs)
2012-10-05 01:11:10 +02:00
Richard Oudkerk
2240ac1eae
Issue #15261 : Stop os.stat(fd) crashing on Windows when fd not open.
2012-07-06 12:05:32 +01:00
Georg Brandl
61063cca6a
Fix a couple of versionadded/versionchanged related markup errors.
2012-06-24 22:48:30 +02:00
R David Murray
24eb4bc5c9
#9921 : clarify os.path.join joining algorithm
...
The new wording is based on the comments in the code, which
match the actual behavior.
2011-06-23 21:26:13 -04:00
Antoine Pitrou
f10f162db9
Consistent ordering of availability statements
2010-12-12 20:17:29 +00:00
Georg Brandl
539c165299
#6825 : small correction to split() docs.
2010-10-14 06:46:08 +00:00
Victor Stinner
b55e498f56
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.
2010-09-11 00:22:12 +00:00
Brian Curtin
6285774f06
Implement #7566 - os.path.sameopenfile for Windows.
...
This uses the GetFileInformationByHandle function to return a tuple of values
to identify a file, then ntpath.sameopenfile compares file tuples, which
is exposed as os.path.sameopenfile.
2010-09-06 17:07:27 +00:00
Georg Brandl
353ebce2a0
#7386 : add example that shows that trailing path separators are stripped.
2010-08-02 19:19:26 +00:00
Georg Brandl
b382337ed6
Fix markup.
2010-07-10 08:58:37 +00:00
Brian Curtin
c739569be0
Adding versionchanged to the various Windows os.symlink additions, along
...
with a few minor touchups.
2010-07-09 15:15:09 +00:00
Brian Curtin
d40e6f70a5
Implement #1578269 . Patch by Jason R. Coombs.
...
Added Windows support for os.symlink when run on Windows 6.0 or greater,
aka Vista. Previous Windows versions will raise NotImplementedError
when trying to symlink.
Includes numerous test updates and additions to test_os, including
a symlink_support module because of the fact that privilege escalation
is required in order to run the tests to ensure that the user is able
to create symlinks. By default, accounts do not have the required
privilege, so the escalation code will have to be exposed later (or
documented on how to do so). I'll be following up with that work next.
Note that the tests use ctypes, which was agreed on during the PyCon
language summit.
2010-07-08 21:39:08 +00:00
Ezio Melotti
5a3ef5b22a
#9018 : os.path.normcase() now raises a TypeError if the argument is not str or bytes.
2010-06-25 10:56:11 +00:00
Benjamin Peterson
f650e46646
Merged revisions 80894,80896 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80894 | benjamin.peterson | 2010-05-06 17:33:46 -0500 (Thu, 06 May 2010) | 1 line
Availability gets its own line
........
r80896 | benjamin.peterson | 2010-05-06 17:49:28 -0500 (Thu, 06 May 2010) | 1 line
ensure that availability information is on its own line at the end of the function docs
........
2010-05-06 23:03:05 +00:00
Georg Brandl
1824415470
Switch more function arguments docs to new-style.
2009-09-02 20:34:52 +00:00
Mark Hammond
5a607a3ee5
Issue #5799 : ntpath (ie, os.path on Windows) fully supports UNC pathnames.
...
By Larry Hastings, reviewed eric.smith and mark.hammond.
2009-05-06 08:04:54 +00:00
Georg Brandl
747f0518e8
Remove merging accident.
2009-04-27 16:34:37 +00:00