summaryrefslogtreecommitdiffstats
path: root/Doc/library/pathlib.rst
Commit message (Collapse)AuthorAgeFilesLines
* Close #23904: fix pathlib documentation misleadingly mentioning that bytes ↵Antoine Pitrou2015-04-111-2/+2
|\ | | | | | | objects are accepted in the PurePath constructor
| * Close #23904: fix pathlib documentation misleadingly mentioning that bytes ↵Antoine Pitrou2015-04-111-2/+2
| | | | | | | | objects are accepted in the PurePath constructor
* | Issue #19777: Provide a home() classmethod on Path objects.Antoine Pitrou2015-01-121-0/+11
| | | | | | | | Contributed by Victor Salgado and Mayank Tripathi.
* | Issue #19776: Add a expanduser() method on Path objects.Antoine Pitrou2014-12-301-3/+12
| | | | | | | | Patch by Serhiy.
* | Closes #20218: Added convenience methods read_text/write_text and read_bytes/Georg Brandl2014-10-011-0/+61
| | | | | | | | | | | | write_bytes to pathlib.Path objects. Thanks to Christopher Welborn and Ram Rachum for original patches.
* | Revert #22251Berker Peksag2014-09-271-3/+0
|\ \ | |/
| * Revert #22251Berker Peksag2014-09-271-3/+0
| |
* | Issue #22251: Fix ReST markup to avoid errors building docs.Berker Peksag2014-09-271-0/+3
|\ \ | |/
| * Issue #22251: Fix ReST markup to avoid errors building docs.Berker Peksag2014-09-271-0/+3
| |
| * Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-0/+30
| |
* | - Issue #21539: Add a *exists_ok* argument to `Pathlib.mkdir()` to mimicBarry Warsaw2014-08-051-1/+11
| | | | | | | | | | | | | | | | | | | | | | `mkdir -p` and `os.makedirs()` functionality. When true, ignore FileExistsErrors. Patch by Berker Peksag. (With minor cleanups, additional tests, doc tweaks, etc. by Barry) Also: * Remove some unused imports in test_pathlib.py reported by pyflakes.
* | Issue #19775: Add a samefile() method to pathlib Path objects.Antoine Pitrou2014-05-131-0/+19
| | | | | | | | Initial patch by Vajrasky Kok.
* | Issue #20765: Add missing documentation for PurePath.with_name() and ↵Antoine Pitrou2014-02-251-0/+30
|/ | | | PurePath.with_suffix().
* Mention specific exceptions instead of OSError where appropriate.Antoine Pitrou2013-12-161-3/+4
|
* Issue #19921: When Path.mkdir() is called with parents=True, any missing ↵Antoine Pitrou2013-12-161-1/+4
| | | | | | parent is created with the default permissions, ignoring the mode argument (mimicking the POSIX "mkdir -p" command). Patch by Serhiy.
* Some minor clarifications in the documentation of pathlib + inheritance diagramEli Bendersky2013-11-281-68/+80
|
* Change pathlib documentation to use "raise" instead of "throw".Ned Deily2013-11-271-2/+2
|
* Issue #19793: Improved markup for True/False constants in pathlib documentation.Serhiy Storchaka2013-11-261-28/+28
|
* Wording changes to pathlib docs.Andrew Kuchling2013-11-221-4/+3
| | | | | | | | | | Only possibly-controversial change: joinpath() was described as: "Calling this method is equivalent to indexing the path with each of the *other* arguments in turn." 'Indexing' is an odd word to use, because you can't subscript Path or PurePath objects, so I changed it to "combining".
* Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428).Antoine Pitrou2013-11-221-0/+874