Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-34931: [doc] clarify behavior of os.path.splitext() on paths with ↵ | Irit Katriel | 2022-01-03 | 1 | -1/+6 |
| | | | | multiple leading periods (GH-30347) | ||||
* | bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) | Jake Stockwin | 2021-08-02 | 1 | -7/+26 |
| | |||||
* | bpo-26329: update os.path.normpath documentation (GH-20138) | Furkan Onder | 2021-07-12 | 1 | -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 Gale | 2021-04-28 | 1 | -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 Spytz | 2021-04-12 | 1 | -1/+2 |
| | | | | drives (GH-25346) | ||||
* | bpo-39899: os.path.expanduser(): don't guess other Windows users' home ↵ | Barney Gale | 2021-04-07 | 1 | -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 Sutton | 2021-03-26 | 1 | -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 Sun | 2019-09-13 | 1 | -2/+0 |
| | | | | (GH-14004) | ||||
* | bpo-9949: Enable symlink traversal for ntpath.realpath (GH-15287) | Steve Dower | 2019-08-21 | 1 | -1/+9 |
| | |||||
* | bpo-6689: os.path.commonpath raises ValueError for different drives isn't ↵ | Makdon | 2019-06-13 | 1 | -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 Sun | 2019-05-13 | 1 | -4/+4 |
| | |||||
* | bpo-36264: Updates documentation for change to expanduser on Windows (GH-12294) | Steve Dower | 2019-03-12 | 1 | -4/+7 |
| | |||||
* | bpo-29707: Document that os.path.ismount() is not able to reliable detect ↵ | Serhiy Storchaka | 2019-01-15 | 1 | -3/+4 |
| | | | | bind mounts. (GH-11238) | ||||
* | bpo-35471: Remove the macpath module (GH-11129) | Victor Stinner | 2018-12-14 | 1 | -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 Storchaka | 2018-10-28 | 1 | -3/+3 |
| | |||||
* | bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037) | Stéphane Wirtel | 2018-10-26 | 1 | -1/+1 |
| | |||||
* | bpo-35054: Add more index entries for symbols. (GH-10064) | Serhiy Storchaka | 2018-10-26 | 1 | -0/+5 |
| | |||||
* | bpo-11233: Create availability directive for documentation (GH-9692) | Cheryl Sabella | 2018-10-12 | 1 | -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 Storchaka | 2018-09-18 | 1 | -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 Sabella | 2018-01-15 | 1 | -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 Stinner | 2017-10-24 | 1 | -8/+2 |
| | |||||
* | Issue #29197: Removed deprecated function ntpath.splitunc(). | Serhiy Storchaka | 2017-01-13 | 1 | -13/+0 |
| | |||||
* | Issue #26027, #27524: Document the support for path-like objects in os and ↵ | Brett Cannon | 2016-09-06 | 1 | -1/+86 |
| | | | | | | os.path. This completes PEP 519. | ||||
* | Issue #22558: Add remaining doc links to source code for Python-coded modules. | Terry Jan Reedy | 2016-06-11 | 1 | -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 Deily | 2016-06-04 | 1 | -1/+1 |
| | |||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -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 Selivanov | 2015-08-19 | 1 | -4/+4 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | docs: Improve docs for os.path.commonprefix | Yury Selivanov | 2015-08-18 | 1 | -2/+15 |
| | | |||||
* | | Issue #10395: Added os.path.commonpath(). Implemented in posixpath and ntpath. | Serhiy Storchaka | 2015-03-31 | 1 | -3/+16 |
|/ | | | | Based on patch by Rafik Draoui. | ||||
* | Issue #15414: Clean and correct the os.path.join docs. | Zachary Ware | 2014-10-10 | 1 | -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 Peterson | 2014-06-23 | 1 | -1/+1 |
| | | | | | | #13143) Patch from Yayoi Ukai. | ||||
* | improve start default for relpath | Benjamin Peterson | 2014-03-20 | 1 | -1/+1 |
| | |||||
* | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 1 | -6/+12 |
| | |||||
* | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -3/+3 |
|\ | |||||
| * | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -3/+3 |
| | | |||||
* | | Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428). | Antoine Pitrou | 2013-11-22 | 1 | -0/+5 |
| | | |||||
* | | Issue #19207: Improved cross-references in the os, os.path, and posix modules | Serhiy Storchaka | 2013-10-13 | 1 | -3/+3 |
|\ \ | |/ | | | | | documentation. | ||||
| * | Issue #19207: Improved cross-references in the os, os.path, and posix modules | Serhiy Storchaka | 2013-10-13 | 1 | -3/+3 |
| | | | | | | | | documentation. | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Clarify docs for os.path.getctime on Unix: it is the inode (metadata) change ↵ | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
| | | | | | | | | time | ||||
* | | #18389: Clarify that relpath does not access the file system. | R David Murray | 2013-07-12 | 1 | -2/+4 |
|\ \ | |/ | | | | | Initial patch by Madison May. | ||||
| * | #18389: Clarify that relpath does not access the file system. | R David Murray | 2013-07-12 | 1 | -2/+4 |
| | | | | | | | | Initial patch by Madison May. | ||||
* | | Merge with 3.3 | Terry Jan Reedy | 2013-03-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Merge with 3.2 | Terry Jan Reedy | 2013-03-17 | 1 | -1/+1 |
| |\ | |||||
| | * | Issue #17415: Trim trailing whitespace | Terry Jan Reedy | 2013-03-17 | 1 | -1/+1 |
| | | | |||||
* | | | Merge with 3.3 | Terry Jan Reedy | 2013-03-17 | 1 | -7/+5 |
|\ \ \ | |/ / | |||||
| * | | Merge with 3.2 | Terry Jan Reedy | 2013-03-17 | 1 | -7/+5 |
| |\ \ | | |/ | |||||
| | * | Issue #17415: Clarify 'this' referent by moving containing sentence just after | Terry Jan Reedy | 2013-03-17 | 1 | -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 Murray | 2013-01-06 | 1 | -0/+5 |
|\ \ \ | |/ / |