summaryrefslogtreecommitdiffstats
path: root/Lib/pathlib.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23146: Fix mishandling of absolute Windows paths with forward slashes ↵Antoine Pitrou2015-02-151-0/+4
| | | | | | in pathlib. Detected and fixed by Serhiy.
* Issue #21408: The default __ne__() now returns NotImplemented if __eq__()Serhiy Storchaka2015-01-261-3/+0
| | | | returned NotImplemented. Removed incorrect implementations of __ne__().
* Close #22370: Windows detection in pathlib is now more robust.Antoine Pitrou2014-11-181-5/+4
|
* Issue #22759: Query methods on pathlib.Path() (exists(), is_dir(), etc.) now ↵Antoine Pitrou2014-10-301-9/+9
| | | | return False when the underlying stat call raises NotADirectoryError.
* Issue #20639: calling Path.with_suffix('') allows removing the suffix again.Antoine Pitrou2014-07-071-4/+3
| | | | Patch by July Tikhonov.
* Issue #21714: Disallow the construction of invalid paths using ↵Antoine Pitrou2014-07-071-0/+4
| | | | Path.with_name(). Original patch by Antony Lee.
* Issue #21127: Path objects can now be instantiated from str subclass ↵Antoine Pitrou2014-04-221-2/+2
| | | | | | instances (such as numpy.str_). Thanks to Antony Lee for the report and preliminary patch.
* Issue #20111: pathlib.Path.with_suffix() now sanity checks the given suffix.Antoine Pitrou2014-01-021-0/+6
|
* Issue #19918: Fix PurePath.relative_to() under Windows.Antoine Pitrou2013-12-281-12/+8
|
* Issue #19921: When Path.mkdir() is called with parents=True, any missing ↵Antoine Pitrou2013-12-161-1/+1
| | | | | | parent is created with the default permissions, ignoring the mode argument (mimicking the POSIX "mkdir -p" command). Patch by Serhiy.
* Issue #19887: Improve the Path.resolve() algorithm to support certain ↵Antoine Pitrou2013-12-161-35/+40
| | | | | | symlink chains. Original patch by Serhiy.
* Issue #19908: pathlib now joins relative Windows paths correctly when a driveSerhiy Storchaka2013-12-061-5/+9
| | | | is present. Original patch by Antoine Pitrou.
* Issue #19872: remove unused imports in pathlib. Patch by Vajrasky Kok.Antoine Pitrou2013-12-031-9/+2
|
* Issue #19852: move Path._raw_open() around, as it is now a private method.Antoine Pitrou2013-12-021-9/+9
| | | | Patch by Vajrasky Kok.
* Issue #19715: try the utime(..., None) approach again, now that it should be ↵Antoine Pitrou2013-11-231-3/+1
| | | | more precise under Windows
* Revert utime(..., None) strategy (it has too poor resolution under Windows) ↵Antoine Pitrou2013-11-231-1/+3
| | | | | | and restore the previous test workaround (issue #19715)
* Trying other strategy for #19715: use utime(..., None)Antoine Pitrou2013-11-231-3/+1
|
* Fix whitespaceAntoine Pitrou2013-11-221-1/+0
|
* Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428).Antoine Pitrou2013-11-221-0/+1287