Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Fix the unittest to run properly when the working directory has | Gregory P. Smith | 2014-01-20 | 1 | -1/+1 |
| | | | | additional bits set (such as the setgid or sticky bits). | ||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -0/+0 |
| | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts. | ||||
* | Issue #20111: pathlib.Path.with_suffix() now sanity checks the given suffix. | Antoine Pitrou | 2014-01-02 | 1 | -0/+20 |
| | |||||
* | Issue #19918: Fix PurePath.relative_to() under Windows. | Antoine Pitrou | 2013-12-28 | 1 | -28/+57 |
| | |||||
* | Issue #19921: When Path.mkdir() is called with parents=True, any missing ↵ | Antoine Pitrou | 2013-12-16 | 1 | -2/+11 |
| | | | | | | 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 | -0/+53 |
| | | | | | | symlink chains. Original patch by Serhiy. | ||||
* | Test same drive in different cases (issue #19908). | Serhiy Storchaka | 2013-12-06 | 1 | -2/+2 |
| | |||||
* | Issue #19908: pathlib now joins relative Windows paths correctly when a drive | Serhiy Storchaka | 2013-12-06 | 1 | -0/+42 |
| | | | | is present. Original patch by Antoine Pitrou. | ||||
* | Issue #19877: fix regression in test_pathlib when Windows has symlink ↵ | Antoine Pitrou | 2013-12-03 | 1 | -2/+2 |
| | | | | | | support available (i.e. in administrator mode). Patch by Vajrasky Kok. | ||||
* | Add a test for complex symlinks. | Antoine Pitrou | 2013-12-03 | 1 | -10/+21 |
| | |||||
* | Issue #19742: fix a test_pathlib failure when a file owner or group isn't in ↵ | Antoine Pitrou | 2013-11-25 | 1 | -2/+10 |
| | | | | the system database | ||||
* | Issue #19715: try the utime(..., None) approach again, now that it should be ↵ | Antoine Pitrou | 2013-11-23 | 1 | -5/+2 |
| | | | | more precise under Windows | ||||
* | Issue #19716: add a test that Path.touch() doesn't change a file's contents. | Antoine Pitrou | 2013-11-23 | 1 | -0/+7 |
| | | | | Patch by Kushal Das. | ||||
* | Revert utime(..., None) strategy (it has too poor resolution under Windows) ↵ | Antoine Pitrou | 2013-11-23 | 1 | -2/+5 |
| | | | | | | and restore the previous test workaround (issue #19715) | ||||
* | Trying other strategy for #19715: use utime(..., None) | Antoine Pitrou | 2013-11-23 | 1 | -5/+2 |
| | |||||
* | Try to fix issue #19715 (timestamp rounding inconsistencies under Windows?) | Antoine Pitrou | 2013-11-23 | 1 | -3/+7 |
| | |||||
* | Try to debug issue #19715 | Antoine Pitrou | 2013-11-22 | 1 | -2/+6 |
| | |||||
* | Issue #19718: add one more globbing test under POSIX | Antoine Pitrou | 2013-11-22 | 1 | -0/+2 |
| | |||||
* | Issue #19718: Add a case-insensitive FS check to test.support to use | Brett Cannon | 2013-11-22 | 1 | -2/+6 |
| | | | | | | | in test_pathlib. Purposefully designed to work from a specified directory in case multiple file systems are used on the system. | ||||
* | Hopefully fix test_is_socket_true | Antoine Pitrou | 2013-11-22 | 1 | -2/+6 |
| | |||||
* | Fix test failure under systems with an incompatible locale | Antoine Pitrou | 2013-11-22 | 1 | -1/+8 |
| | |||||
* | Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428). | Antoine Pitrou | 2013-11-22 | 1 | -0/+1639 |