Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #28683: Fix the tests that bind() a unix socket and raise PermissionError | Xavier de Gaye | 2016-12-14 | 1 | -1/+2 | |
| | | | | | | | | on Android for a non-root user. | |||||
* | | Issue #28759: Fix the tests that fail with PermissionError when run as | Xavier de Gaye | 2016-12-13 | 1 | -0/+2 | |
| | | | | | | | | a non-root user on Android where access rights are controled by SELinux MAC. | |||||
* | | Issue #26856: Fix the tests assuming that the pwd module has getpwall() and | Xavier de Gaye | 2016-12-13 | 1 | -0/+2 | |
| | | | | | | | | assuming some invariants about uids that are not valid for Android. | |||||
* | | Issue #19717: Makes Path.resolve() succeed on paths that do not exist (patch ↵ | Steve Dower | 2016-11-09 | 1 | -7/+47 | |
| | | | | | | | | by Vajrasky Kok) | |||||
* | | Issue #27186: Add os.PathLike support to pathlib. | Brett Cannon | 2016-06-10 | 1 | -0/+11 | |
| | | | | | | | | | | | | | | | | This adds support both to pathlib.PurePath's constructor as well as implementing __fspath__(). This removes the provisional status for pathlib. Initial patch by Dusty Phillips. | |||||
* | | Back out pathlib.Path.path attr. (Merge 3.5->3.6) | Guido van Rossum | 2016-05-19 | 1 | -27/+0 | |
|\ \ | |/ | ||||||
| * | Back out pathlib.Path.path attr. (Merge 3.4->3.5) | Guido van Rossum | 2016-05-19 | 1 | -27/+0 | |
| |\ | ||||||
| | * | Back out 7e9605697dfc, 2e3c31ab586a, 759b2cecc289. | Guido van Rossum | 2016-05-19 | 1 | -27/+0 | |
| | | | | | | | | | | | | | | | | | | | | | These added a path attribute to pathlib.Path objects, and docs. Instead, we're going to use PEP 519. (Starting in the 3.4 branch and merging forward from there since that's what I did originally.) | |||||
* | | | Issue #24950: Fixed expanduser tests when the users home directory in pwd is ↵ | Serhiy Storchaka | 2016-05-03 | 1 | -1/+1 | |
|\ \ \ | |/ / | | | | | | | | | | | | | "/". Based on patch by SilentGhost. | |||||
| * | | Issue #24950: Fixed expanduser tests when the users home directory in pwd is ↵ | Serhiy Storchaka | 2016-05-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | "/". Based on patch by SilentGhost. | |||||
* | | | Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 | |
|\ \ \ | |/ / | | | | | | | messages. | |||||
| * | | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge 3.5 | Victor Stinner | 2016-03-11 | 1 | -10/+10 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #20589: Fix test_pathlib | Victor Stinner | 2016-03-11 | 1 | -10/+10 | |
| | | | ||||||
* | | | Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise | Berker Peksag | 2016-03-11 | 1 | -0/+9 | |
|\ \ \ | |/ / | | | | | | | NotImplementedError instead of ImportError. | |||||
| * | | Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise | Berker Peksag | 2016-03-11 | 1 | -0/+9 | |
| | | | | | | | | | | | | 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/+5 | |
|\ \ \ | |/ / | | | | | | | | | | | | | invalid pattern. Patch by Thomas Nyberg. | |||||
| * | | Issue #23076: Path.glob() now raises a ValueError if it's called with an | Berker Peksag | 2016-01-30 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | invalid pattern. Patch by Thomas Nyberg. | |||||
* | | | Hopeful fix for test_rglob_common on Windows without symlinks. (Merge 3.5->3.6) | Guido van Rossum | 2016-01-07 | 1 | -2/+5 | |
|\ \ \ | |/ / | ||||||
| * | | Hopeful fix for test_rglob_common on Windows without symlinks. (Merge 3.4->3.5) | Guido van Rossum | 2016-01-07 | 1 | -2/+5 | |
| |\ \ | | |/ | ||||||
| | * | Hopeful fix for test_rglob_common on Windows without symlinks. | Guido van Rossum | 2016-01-07 | 1 | -2/+5 | |
| | | | ||||||
* | | | Add another try/except PermissionError to avoid depending on listdir order. ↵ | Guido van Rossum | 2016-01-07 | 1 | -8/+8 | |
|\ \ \ | |/ / | | | | | | | Fix issues #24120 and #26012. (Merge 3.5->3.6) | |||||
| * | | Add another try/except PermissionError to avoid depending on listdir order. ↵ | Guido van Rossum | 2016-01-07 | 1 | -8/+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 | -8/+8 | |
| | | | | | | | | | | | | Fix issues #24120 and #26012. | |||||
* | | | Issue #22570: Add 'path' attribute to pathlib.Path objects. (Merge 3.5->3.6) | Guido van Rossum | 2016-01-06 | 1 | -0/+27 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #22570: Add 'path' attribute to pathlib.Path objects. (Merge 3.4->3.5) | Guido van Rossum | 2016-01-06 | 1 | -0/+27 | |
| |\ \ | | |/ | ||||||
| | * | Issue #22570: Add 'path' attribute to pathlib.Path objects. | Guido van Rossum | 2016-01-06 | 1 | -0/+27 | |
| | | | ||||||
* | | | Issue #26012: Don't traverse into symlinks for ** pattern in ↵ | Guido van Rossum | 2016-01-06 | 1 | -1/+18 | |
|\ \ \ | |/ / | | | | | | | pathlib.Path.[r]glob(). (Merge 3.5->3.6) | |||||
| * | | Issue #26012: Don't traverse into symlinks for ** pattern in ↵ | Guido van Rossum | 2016-01-06 | 1 | -1/+18 | |
| |\ \ | | |/ | | | | | | | 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/+18 | |
| | | | | | | | | | | | | pathlib.Path.[r]glob(). | |||||
* | | | Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich ↵ | Guido van Rossum | 2016-01-06 | 1 | -12/+20 | |
|\ \ \ | |/ / | | | | | | | Petri. (Merge 3.5->3.6) | |||||
| * | | Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich ↵ | Guido van Rossum | 2016-01-06 | 1 | -12/+20 | |
| |\ \ | | |/ | | | | | | | Petri. (Merge 3.4->3.5) | |||||
| | * | Issue #24120: Ignore PermissionError in pathlib.Path.[r]glob(). Ulrich Petri. | Guido van Rossum | 2016-01-06 | 1 | -12/+20 | |
| | | | ||||||
* | | | Remove duplicate method in test_pathlib. Initial patch by Navneet Suman. | Ezio Melotti | 2015-12-28 | 1 | -4/+4 | |
|/ / | ||||||
* | | Issue #23146: Fix mishandling of absolute Windows paths with forward slashes ↵ | Antoine Pitrou | 2015-02-15 | 1 | -16/+20 | |
|\ \ | |/ | | | | | | | | | in pathlib. Detected and fixed by Serhiy. | |||||
| * | Issue #23146: Fix mishandling of absolute Windows paths with forward slashes ↵ | Antoine Pitrou | 2015-02-15 | 1 | -16/+20 | |
| | | | | | | | | | | | | in pathlib. Detected and fixed by Serhiy. | |||||
* | | Issue #19777: Provide a home() classmethod on Path objects. | Antoine Pitrou | 2015-01-12 | 1 | -0/+11 | |
| | | | | | | | | Contributed by Victor Salgado and Mayank Tripathi. | |||||
* | | Issue #19776: Fix test_pathlib.test_expanduser() | Victor Stinner | 2015-01-10 | 1 | -1/+1 | |
| | | | | | | | | Skip users with an empty home directory. | |||||
* | | Issue #19776: Add a expanduser() method on Path objects. | Antoine Pitrou | 2014-12-30 | 1 | -0/+110 | |
| | | | | | | | | Patch by Serhiy. | |||||
* | | Issue #22759: Query methods on pathlib.Path() (exists(), is_dir(), etc.) now ↵ | Antoine Pitrou | 2014-10-30 | 1 | -0/+10 | |
|\ \ | |/ | | | | | 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 | -0/+10 | |
| | | | | | | | | 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/+17 | |
| | | | | | | | | | | | | 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 | -5/+53 | |
| | | | | | | | | | | | | | | | | | | | | | | `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 Python 3.4 | Victor Stinner | 2014-07-21 | 1 | -2/+2 | |
|\ \ | |/ | | | | | | | | | | | | | * Issue #19811, #22022: test_pathlib uses support.rmtree() instead of shutil.rmtree() to remove the temporary directory. * Issue #19629: Fix support.rmtree(), use os.lstat() to check if the file is a directory, not os.path.isdir() | |||||
| * | Issue #19811, #22022: test_pathlib uses support.rmtree() instead of | Victor Stinner | 2014-07-21 | 1 | -2/+2 | |
| | | | | | | | | shutil.rmtree() to remove the temporary directory. | |||||
* | | Merge pathlib fixes | Antoine Pitrou | 2014-07-07 | 1 | -0/+14 | |
|\ \ | |/ | ||||||
| * | Issue #20639: calling Path.with_suffix('') allows removing the suffix again. | Antoine Pitrou | 2014-07-07 | 1 | -0/+6 | |
| | | | | | | | | Patch by July Tikhonov. | |||||
| * | Issue #21714: Disallow the construction of invalid paths using ↵ | Antoine Pitrou | 2014-07-07 | 1 | -0/+8 | |
| | | | | | | | | 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/+20 | |
|/ | | | | Initial patch by Vajrasky Kok. | |||||
* | Issue #21127: Path objects can now be instantiated from str subclass ↵ | Antoine Pitrou | 2014-04-22 | 1 | -0/+30 | |
| | | | | | | instances (such as numpy.str_). Thanks to Antony Lee for the report and preliminary patch. |