summaryrefslogtreecommitdiff
path: root/Doc/library/os.path.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant ↵Serhiy Storchaka2018-09-181-0/+8
| | | | | | | | | | to invalid paths. (#7695) Such functions as os.path.exists(), os.path.lexists(), os.path.isdir(), os.path.isfile(), os.path.islink(), and os.path.ismount() now return False instead of raising ValueError or its subclasses UnicodeEncodeError and UnicodeDecodeError for paths that contain characters or bytes unrepresentative at the OS level.
* bpo-15221: Update os.path.is*() documentation (GH-5185)Cheryl Sabella2018-01-141-6/+9
| | | | | `os.path.is*()` can return False if the file can't be accessed. The behaviour is documented in details in `os.path.exists()`. Link to `os.path.exists()` from `os.path.is*()`.
* bpo-31827: Remove os.stat_float_times() (GH-4061)Victor Stinner2017-10-241-8/+2
|
* Issue #29197: Removed deprecated function ntpath.splitunc().Serhiy Storchaka2017-01-131-13/+0
|
* Issue #26027, #27524: Document the support for path-like objects in os and ↵Brett Cannon2016-09-061-1/+86
| | | | | | os.path. This completes PEP 519.
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+6
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* Issue 27216: Fix typo (noticed by Alex Chan).Ned Deily2016-06-041-1/+1
|
* Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-1/+1
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | | | | | | | 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.
* | Further improve os.path.commonprefix() docs.Yury Selivanov2015-08-191-4/+4
| | | | | | | | Patch by Serhiy Storchaka.
* | docs: Improve docs for os.path.commonprefixYury Selivanov2015-08-171-2/+15
| |
* | Issue #10395: Added os.path.commonpath(). Implemented in posixpath and ntpath.Serhiy Storchaka2015-03-311-3/+16
|/ | | | Based on patch by Rafik Draoui.
* Issue #15414: Clean and correct the os.path.join docs.Zachary Ware2014-10-101-11/+16
| | | | | | In particular, correctly describe the behavior of ntpath.join. Based on a patch by Dave Sawyer.
* clarify that islink only really works if python knows about symlinks (closes ↵Benjamin Peterson2014-06-221-1/+1
| | | | | | #13143) Patch from Yayoi Ukai.
* improve start default for relpathBenjamin Peterson2014-03-201-1/+1
|
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-151-6/+12
|
* Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-3/+3
|\
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-3/+3
| |
* | Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428).Antoine Pitrou2013-11-221-0/+5
| |
* | Issue #19207: Improved cross-references in the os, os.path, and posix modulesSerhiy Storchaka2013-10-131-3/+3
|\ \ | |/ | | | | documentation.
| * Issue #19207: Improved cross-references in the os, os.path, and posix modulesSerhiy Storchaka2013-10-131-3/+3
| | | | | | | | documentation.
* | merge with 3.3Georg Brandl2013-10-061-1/+1
|\ \ | |/
| * Clarify docs for os.path.getctime on Unix: it is the inode (metadata) change ↵Georg Brandl2013-10-061-1/+1
| | | | | | | | time
* | #18389: Clarify that relpath does not access the file system.R David Murray2013-07-121-2/+4
|\ \ | |/ | | | | Initial patch by Madison May.
| * #18389: Clarify that relpath does not access the file system.R David Murray2013-07-121-2/+4
| | | | | | | | Initial patch by Madison May.
* | Merge with 3.3Terry Jan Reedy2013-03-171-1/+1
|\ \ | |/
| * Merge with 3.2Terry Jan Reedy2013-03-171-1/+1
| |\
| | * Issue #17415: Trim trailing whitespaceTerry Jan Reedy2013-03-171-1/+1
| | |
* | | Merge with 3.3Terry Jan Reedy2013-03-171-7/+5
|\ \ \ | |/ /
| * | Merge with 3.2Terry Jan Reedy2013-03-171-7/+5
| |\ \ | | |/
| | * Issue #17415: Clarify 'this' referent by moving containing sentence just afterTerry Jan Reedy2013-03-171-7/+5
| | | | | | | | | | | | the sentence referred to. Make other minor edits to improve flow.
* | | merge #16877: Add mention that shell-style path expansions are not automatic.R David Murray2013-01-061-0/+5
|\ \ \ | |/ /
| * | merge #16877: Add mention that shell-style path expansions are not automatic.R David Murray2013-01-061-0/+5
| |\ \ | | |/
| | * #16877: Add mention that shell-style path expansions are not automatic.R David Murray2013-01-061-0/+5
| | |
* | | Fix #11939. Set st_dev attribute on Windows to simplify os.path.samefile.Brian Curtin2012-12-261-5/+7
| | | | | | | | | | | | | | | | | | 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.
* | | Merge: use OSError instead of os.error in the docs.Andrew Svetlov2012-12-151-4/+4
|\ \ \ | |/ /
| * | Use OSError instead of os.error in the docs.Andrew Svetlov2012-12-151-4/+4
| | |
* | | Merge from 3.3: add hyperlinks to some os.path function docs (issue #16552).Chris Jerdonek2012-11-251-6/+9
|\ \ \ | |/ /
| * | Merge from 3.2: add hyperlinks to some os.path function docs (issue #16552).Chris Jerdonek2012-11-251-6/+9
| |\ \ | | |/
| | * Add hyperlinks to the docs of some os.path functions (issue #16552).Chris Jerdonek2012-11-251-6/+9
| | |
* | | #16135: Removal of OS/2 support (Docs)Jesus Cea2012-10-051-1/+0
|/ /
* | Issue #15261: Stop os.stat(fd) crashing on Windows when fd not open.Richard Oudkerk2012-07-061-3/+8
| |
* | Fix a couple of versionadded/versionchanged related markup errors.Georg Brandl2012-06-241-1/+2
|/
* #9921: clarify os.path.join joining algorithmR David Murray2011-06-231-4/+5
| | | | | The new wording is based on the comments in the code, which match the actual behavior.
* Consistent ordering of availability statementsAntoine Pitrou2010-12-121-2/+2
|
* #6825: small correction to split() docs.Georg Brandl2010-10-141-8/+8
|
* Issue #767645: fix os.path.supports_unicode_filenames definitionVictor Stinner2010-09-111-2/+1
| | | | | os.listdir(str) always returns unicode and it can return non-ascii filenames even if supports_unicode_filenames is False.
* Implement #7566 - os.path.sameopenfile for Windows.Brian Curtin2010-09-061-1/+3
| | | | | | 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.
* #7386: add example that shows that trailing path separators are stripped.Georg Brandl2010-08-021-1/+3
|
* Fix markup.Georg Brandl2010-07-101-1/+2
|