Steve Dower
98eb360531
Issue #19717 : Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)
2016-11-09 12:58:17 -08:00
Brett Cannon
568be63248
Issue #27186 : Add os.PathLike support to pathlib.
...
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.
2016-06-10 12:20:49 -07:00
Guido van Rossum
03e6061956
Back out pathlib.Path.path attr. (Merge 3.5->3.6)
2016-05-19 13:11:17 -07:00
Guido van Rossum
387e6e3817
Back out pathlib.Path.path attr. (Merge 3.4->3.5)
2016-05-19 13:10:20 -07:00
Guido van Rossum
3d4d01f614
Back out 7e9605697dfc, 2e3c31ab586a, 759b2cecc289.
...
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.)
2016-05-19 13:00:21 -07:00
Serhiy Storchaka
0e120525f0
Issue #24950 : Fixed expanduser tests when the users home directory in pwd is "/".
...
Based on patch by SilentGhost.
2016-05-03 21:17:52 +03:00
Serhiy Storchaka
a3fd0b26ba
Issue #24950 : Fixed expanduser tests when the users home directory in pwd is "/".
...
Based on patch by SilentGhost.
2016-05-03 21:17:03 +03:00
Serhiy Storchaka
b6a9c9761c
Issue #26778 : Fixed "a/an/and" typos in code comment, documentation and error
...
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Victor Stinner
25caed546d
Merge 3.5
2016-03-11 22:53:15 +01:00
Victor Stinner
d7569637b5
Issue #20589 : Fix test_pathlib
2016-03-11 22:53:00 +01:00
Berker Peksag
d0e9b6919f
Issue #20589 : Invoking Path.owner() and Path.group() on Windows now raise
...
NotImplementedError instead of ImportError.
2016-03-11 23:08:11 +02:00
Berker Peksag
04d4229719
Issue #20589 : Invoking Path.owner() and Path.group() on Windows now raise
...
NotImplementedError instead of ImportError.
2016-03-11 23:07:27 +02:00
Berker Peksag
396cbd6dfd
Issue #23076 : Path.glob() now raises a ValueError if it's called with an
...
invalid pattern.
Patch by Thomas Nyberg.
2016-01-30 17:51:35 +02:00
Berker Peksag
4a208e448e
Issue #23076 : Path.glob() now raises a ValueError if it's called with an
...
invalid pattern.
Patch by Thomas Nyberg.
2016-01-30 17:50:48 +02:00
Guido van Rossum
2900995edd
Hopeful fix for test_rglob_common on Windows without symlinks. (Merge 3.5->3.6)
2016-01-07 13:13:31 -08:00
Guido van Rossum
03abf6dd98
Hopeful fix for test_rglob_common on Windows without symlinks. (Merge 3.4->3.5)
2016-01-07 13:13:04 -08:00
Guido van Rossum
9c39b67ca5
Hopeful fix for test_rglob_common on Windows without symlinks.
2016-01-07 13:12:34 -08:00
Guido van Rossum
8355bd7f66
Add another try/except PermissionError to avoid depending on listdir order. Fix issues #24120 and #26012 . (Merge 3.5->3.6)
2016-01-07 10:58:20 -08:00
Guido van Rossum
c3a8272705
Add another try/except PermissionError to avoid depending on listdir order. Fix issues #24120 and #26012 . (Merge 3.4->3.5)
2016-01-07 10:57:37 -08:00
Guido van Rossum
bc9fddaf50
Add another try/except PermissionError to avoid depending on listdir order. Fix issues #24120 and #26012 .
2016-01-07 10:56:36 -08:00
Guido van Rossum
483397a235
Issue #22570 : Add 'path' attribute to pathlib.Path objects. (Merge 3.5->3.6)
2016-01-06 11:03:47 -08:00
Guido van Rossum
1a4afec0d6
Issue #22570 : Add 'path' attribute to pathlib.Path objects. (Merge 3.4->3.5)
2016-01-06 11:03:15 -08:00
Guido van Rossum
e428231539
Issue #22570 : Add 'path' attribute to pathlib.Path objects.
2016-01-06 11:01:42 -08:00
Guido van Rossum
e630b6818f
Issue #26012 : Don't traverse into symlinks for ** pattern in pathlib.Path.[r]glob(). (Merge 3.5->3.6)
2016-01-06 10:36:19 -08:00