Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise | Berker Peksag | 2016-03-11 | 1 | -0/+6 |
| | | | | NotImplementedError instead of ImportError. | ||||
* | Issue #23076: Path.glob() now raises a ValueError if it's called with an | Berker Peksag | 2016-01-30 | 1 | -0/+2 |
| | | | | | | invalid pattern. Patch by Thomas Nyberg. | ||||
* | Add another try/except PermissionError to avoid depending on listdir order. ↵ | Guido van Rossum | 2016-01-07 | 1 | -5/+8 |
|\ | | | | | | | Fix issues #24120 and #26012. (Merge 3.4->3.5) | ||||
| * | Add another try/except PermissionError to avoid depending on listdir order. ↵ | Guido van Rossum | 2016-01-07 | 1 | -5/+8 |
| | | | | | | | | Fix issues #24120 and #26012. | ||||
* | | Issue #22570: Add 'path' attribute to pathlib.Path objects. (Merge 3.4->3.5) | Guido van Rossum | 2016-01-06 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | Issue #22570: Add 'path' attribute to pathlib.Path objects. | Guido van Rossum | 2016-01-06 | 1 | -0/+7 |
| | | |||||
* | | Issue #26012: Don't traverse into symlinks for ** pattern in ↵ | Guido van Rossum | 2016-01-06 | 1 | -1/+1 |
|\ \ | |/ | | | | | pathlib.Path.[r]glob(). (Merge 3.4->3.5) | ||||
| * | Issue #26012: Don't traverse into symlinks for ** pattern in ↵ | Guido van Rossum | 2016-01-06 | 1 | -1/+1 |
| | | | | | | | | pathlib.Path.[r]glob(). | ||||
* | | Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich ↵ | Guido van Rossum | 2016-01-06 | 1 | -25/+35 |
|\ \ | |/ | | | | | Petri. (Merge 3.4->3.5) | ||||
| * | Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri. | Guido van Rossum | 2016-01-06 | 1 | -25/+35 |
| | | |||||
* | | Issue #25417: Remove the extra dot from docstring | Berker Peksag | 2015-10-22 | 1 | -1/+1 |
| | | |||||
* | | Issue #25417: Fix typo in Path.samefile() docstring | Berker Peksag | 2015-10-21 | 1 | -2/+2 |
| | | | | | | | | Reported by Antony Lee. | ||||
* | | Issue #23146: Fix mishandling of absolute Windows paths with forward slashes ↵ | Antoine Pitrou | 2015-02-15 | 1 | -0/+4 |
|\ \ | |/ | | | | | | | | | in pathlib. Detected and fixed by Serhiy. | ||||
| * | Issue #23146: Fix mishandling of absolute Windows paths with forward slashes ↵ | Antoine Pitrou | 2015-02-15 | 1 | -0/+4 |
| | | | | | | | | | | | | in pathlib. Detected and fixed by Serhiy. | ||||
* | | Issue #21408: The default __ne__() now returns NotImplemented if __eq__() | Serhiy Storchaka | 2015-01-26 | 1 | -3/+0 |
|\ \ | |/ | | | | | returned NotImplemented. Removed incorrect implementations of __ne__(). | ||||
| * | Issue #21408: The default __ne__() now returns NotImplemented if __eq__() | Serhiy Storchaka | 2015-01-26 | 1 | -3/+0 |
| | | | | | | | | returned NotImplemented. Removed incorrect implementations of __ne__(). | ||||
* | | Issue #19777: Provide a home() classmethod on Path objects. | Antoine Pitrou | 2015-01-12 | 1 | -0/+7 |
| | | | | | | | | Contributed by Victor Salgado and Mayank Tripathi. | ||||
* | | whitespace | Antoine Pitrou | 2014-12-30 | 1 | -5/+5 |
| | | |||||
* | | Issue #19776: Add a expanduser() method on Path objects. | Antoine Pitrou | 2014-12-30 | 1 | -0/+56 |
| | | | | | | | | Patch by Serhiy. | ||||
* | | Close #22370: Windows detection in pathlib is now more robust. | Antoine Pitrou | 2014-11-18 | 1 | -5/+4 |
|\ \ | |/ | |||||
| * | Close #22370: Windows detection in pathlib is now more robust. | Antoine Pitrou | 2014-11-18 | 1 | -5/+4 |
| | | |||||
* | | Issue #22759: Query methods on pathlib.Path() (exists(), is_dir(), etc.) now ↵ | Antoine Pitrou | 2014-10-30 | 1 | -9/+9 |
|\ \ | |/ | | | | | return False when the underlying stat call raises NotADirectoryError. | ||||
| * | Issue #22759: Query methods on pathlib.Path() (exists(), is_dir(), etc.) now ↵ | Antoine Pitrou | 2014-10-30 | 1 | -9/+9 |
| | | | | | | | | return False when the underlying stat call raises NotADirectoryError. | ||||
* | | Closes #20218: Added convenience methods read_text/write_text and read_bytes/ | Georg Brandl | 2014-10-01 | 1 | -0/+33 |
| | | | | | | | | | | | | write_bytes to pathlib.Path objects. Thanks to Christopher Welborn and Ram Rachum for original patches. | ||||
* | | - Issue #21539: Add a *exists_ok* argument to `Pathlib.mkdir()` to mimic | Barry Warsaw | 2014-08-05 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | `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. | ||||
* | | Merge pathlib fixes | Antoine Pitrou | 2014-07-07 | 1 | -4/+7 |
|\ \ | |/ | |||||
| * | Issue #20639: calling Path.with_suffix('') allows removing the suffix again. | Antoine Pitrou | 2014-07-07 | 1 | -4/+3 |
| | | | | | | | | Patch by July Tikhonov. | ||||
| * | Issue #21714: Disallow the construction of invalid paths using ↵ | Antoine Pitrou | 2014-07-07 | 1 | -0/+4 |
| | | | | | | | | Path.with_name(). Original patch by Antony Lee. | ||||
* | | Issue #19775: Add a samefile() method to pathlib Path objects. | Antoine Pitrou | 2014-05-13 | 1 | -0/+11 |
|/ | | | | Initial patch by Vajrasky Kok. | ||||
* | Issue #21127: Path objects can now be instantiated from str subclass ↵ | Antoine Pitrou | 2014-04-22 | 1 | -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 Pitrou | 2014-01-02 | 1 | -0/+6 |
| | |||||
* | Issue #19918: Fix PurePath.relative_to() under Windows. | Antoine Pitrou | 2013-12-28 | 1 | -12/+8 |
| | |||||
* | Issue #19921: When Path.mkdir() is called with parents=True, any missing ↵ | Antoine Pitrou | 2013-12-16 | 1 | -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 Pitrou | 2013-12-16 | 1 | -35/+40 |
| | | | | | | symlink chains. Original patch by Serhiy. | ||||
* | Issue #19908: pathlib now joins relative Windows paths correctly when a drive | Serhiy Storchaka | 2013-12-06 | 1 | -5/+9 |
| | | | | is present. Original patch by Antoine Pitrou. | ||||
* | Issue #19872: remove unused imports in pathlib. Patch by Vajrasky Kok. | Antoine Pitrou | 2013-12-03 | 1 | -9/+2 |
| | |||||
* | Issue #19852: move Path._raw_open() around, as it is now a private method. | Antoine Pitrou | 2013-12-02 | 1 | -9/+9 |
| | | | | Patch by Vajrasky Kok. | ||||
* | Issue #19715: try the utime(..., None) approach again, now that it should be ↵ | Antoine Pitrou | 2013-11-23 | 1 | -3/+1 |
| | | | | more precise under Windows | ||||
* | Revert utime(..., None) strategy (it has too poor resolution under Windows) ↵ | Antoine Pitrou | 2013-11-23 | 1 | -1/+3 |
| | | | | | | and restore the previous test workaround (issue #19715) | ||||
* | Trying other strategy for #19715: use utime(..., None) | Antoine Pitrou | 2013-11-23 | 1 | -3/+1 |
| | |||||
* | Fix whitespace | Antoine Pitrou | 2013-11-22 | 1 | -1/+0 |
| | |||||
* | Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428). | Antoine Pitrou | 2013-11-22 | 1 | -0/+1287 |