Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant ↵ | Serhiy Storchaka | 2018-09-18 | 1 | -1/+28 |
| | | | | | | | | | | 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-33635: Handling Bad file descriptor in Path.is_file and related. (GH-8542) | Przemysław Spodymek | 2018-08-27 | 1 | -0/+24 |
| | |||||
* | bpo-34333: Fix %-formatting in Path.with_suffix() (GH-8663) | Berker Peksag | 2018-08-11 | 1 | -0/+2 |
| | |||||
* | bpo-33522: Enable CI builds on Visual Studio Team Services (#6865) | Steve Dower | 2018-05-16 | 1 | -1/+1 |
| | |||||
* | bpo-32601: Let test_expanduser use the same user if no others found. (GH-5246) | Anders Kaseorg | 2018-05-14 | 1 | -0/+3 |
| | | | | | This happens in the NixOS build sandbox, for example, where the only other user is nobody with home directory /. | ||||
* | bpo-32964: Reuse a testing implementation of the path protocol in tests. (#5930) | Serhiy Storchaka | 2018-03-02 | 1 | -6/+3 |
| | |||||
* | bpo-28759: Skip some tests on PermissionError raised by Android (GH-4350) | xdegaye | 2017-11-12 | 1 | -3/+4 |
| | | | | | | Access to mkfifo(), mknod() and hard link creation is controled by SELinux on Android. Also remove test.support.android_not_root. | ||||
* | bpo-30897: Add is_mount() to pathlib.Path (#2669) | Cooper Lees | 2017-08-01 | 1 | -0/+12 |
| | | | | * Add in is_mount() call to pathlib.Path similiar to os.path.ismount(path) * Add tests for is_mount() | ||||
* | bpo-30177: pathlib: include the full path in resolve(strict=False) (#1893) | Antoine Pietri | 2017-06-07 | 1 | -9/+12 |
| | |||||
* | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -3/+3 |
| | | | | collections. (#1263) | ||||
* | bpo-29694: race condition in pathlib mkdir with flags parents=True (GH-1089) | Armin Rigo | 2017-04-13 | 1 | -0/+30 |
| | |||||
* | bpo-19791: Use functions from test support to check the symlink support. ↵ | Vajrasky Kok | 2017-03-28 | 1 | -35/+20 |
| | | | | (GH-822) | ||||
* | bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) (#805) | Serhiy Storchaka | 2017-03-24 | 1 | -0/+5 |
| | | | | when the OS gives priority to errors such as EACCES over EEXIST. | ||||
* | Issue #29416: Prevent infinite loop in pathlib.Path.mkdir | Steve Dower | 2017-02-04 | 1 | -0/+11 |
|\ | |||||
| * | Issue #29416: Prevent infinite loop in pathlib.Path.mkdir | Steve Dower | 2017-02-04 | 1 | -0/+11 |
| | | |||||
* | | 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. |