summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.path.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34931: [doc] clarify behavior of os.path.splitext() on paths with ↵Irit Katriel2022-01-031-1/+6
| | | | multiple leading periods (GH-30347)
* bpo-35183: Add typical examples to os.path.splitext docs (GH-27286)Jake Stockwin2021-08-021-7/+26
|
* bpo-26329: update os.path.normpath documentation (GH-20138)Furkan Onder2021-07-121-0/+8
| | | | | | | | | * bpo-26329: update os.path.normpath documentation * Update os.path.rst * Update posixpath.py * update Pathname Resolution note
* bpo-43757: Make pathlib use os.path.realpath() to resolve symlinks in a path ↵Barney Gale2021-04-281-3/+15
| | | | | (GH-25264) Also adds a new "strict" argument to realpath() to avoid changing the default behaviour of pathlib while sharing the implementation.
* bpo-41661: Document os.path.relpath() exception on Windows with different ↵Zackery Spytz2021-04-121-1/+2
| | | | drives (GH-25346)
* bpo-39899: os.path.expanduser(): don't guess other Windows users' home ↵Barney Gale2021-04-071-2/+2
| | | | | | | directories if the basename of the current user's home directory doesn't match their username. (GH-18841) This makes `ntpath.expanduser()` match `pathlib.Path.expanduser()` in this regard, and is more in line with `posixpath.expanduser()`'s cautious approach. Also remove the near-duplicate implementation of `expanduser()` in pathlib, and by doing so fix a bug where KeyError could be raised when expanding another user's home directory.
* bpo-43620: Remove reference to os.sep from os.path.join() doc (#25025)Jared Sutton2021-03-261-5/+4
| | | - removed ambiguous reference to os.sep from os.path.join() doc
* Doc: Improve consistency of os.path.normcase with other os.path functions ↵Kexuan Sun2019-09-131-2/+0
| | | | (GH-14004)
* bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287)Steve Dower2019-08-211-1/+9
|
* bpo-6689: os.path.commonpath raises ValueError for different drives isn't ↵Makdon2019-06-131-3/+4
| | | | | | | | | | | | | documented (GH-14045) It would raise ValueError("Paths don't have the same drive") if the paths on different drivers, which is not documented. os.path.commonpath raises ValueError when the *paths* are in different drivers, but it is not documented. Update the document according @Windsooon 's suggestion. It actually raise ValueError according line 355 of [test of path](https://github.com/python/cpython/blob/master/Lib/test/test_ntpath.py) https://bugs.python.org/issue6689
* Changes to the documentation of normcase (GH-4725)Kexuan Sun2019-05-131-4/+4
|
* bpo-36264: Updates documentation for change to expanduser on Windows (GH-12294)Steve Dower2019-03-121-4/+7
|
* bpo-29707: Document that os.path.ismount() is not able to reliable detect ↵Serhiy Storchaka2019-01-151-3/+4
| | | | bind mounts. (GH-11238)
* bpo-35471: Remove the macpath module (GH-11129)Victor Stinner2018-12-141-4/+2
| | | | Python 2.4 dropped MacOS 9 support. The macpath module was deprecated in Python 3.7. This change removes it.
* bpo-35054: Add yet more index entries for symbols. (GH-10121)Serhiy Storchaka2018-10-281-3/+3
|
* bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)Stéphane Wirtel2018-10-261-1/+1
|
* bpo-35054: Add more index entries for symbols. (GH-10064)Serhiy Storchaka2018-10-261-0/+5
|
* bpo-11233: Create availability directive for documentation (GH-9692)Cheryl Sabella2018-10-121-5/+5
| | | | | | Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org>
* 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-151-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-181-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-231-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-161-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
|\ \ \ | |/ /