Commit Graph

32 Commits

Author SHA1 Message Date
Antoine Pitrou 6ad419b864 The repr() of a Windows path now uses forward slashes (Guido).
Note that str() and bytes() still use backward slashes, which is the canonical path syntax.
2013-11-17 16:33:06 +01:00
Antoine Pitrou 193c166121 NTPath becomes WindowsPath 2013-11-16 22:31:45 +01:00
Antoine Pitrou 0866846d15 Implicit iteration is replaced by the iterdir() method 2013-11-16 20:08:09 +01:00
Antoine Pitrou 4e925eb9ad Point to readthedocs for detailed API spec 2013-11-16 19:57:44 +01:00
Antoine Pitrou 4318de0442 Kill raw_open() 2013-11-16 19:55:30 +01:00
Antoine Pitrou 4ddef5a086 Kill as_bytes() 2013-11-16 19:50:52 +01:00
Antoine Pitrou 08daab3583 Fix an example 2013-11-16 19:32:39 +01:00
Antoine Pitrou eb0946e474 Remove stat caching 2013-11-04 16:22:03 +01:00
Antoine Pitrou 7456c54989 Remove the st_* shortcuts 2013-11-04 16:20:12 +01:00
Antoine Pitrou 8ad14a255d relative() becomes relative_to() 2013-11-04 16:19:23 +01:00
Antoine Pitrou 52967be17a "basename" is now "stem" (preferred by Guido) 2013-10-27 16:56:12 +01:00
Antoine Pitrou 0851a088fc Add a discussion section 2013-10-25 21:28:38 +02:00
Antoine Pitrou e4f08b7f30 s/alteration/modification/ 2013-10-25 21:09:57 +02:00
Antoine Pitrou 3889008418 Simplify joinpath() example 2013-10-25 21:05:22 +02:00
Antoine Pitrou 64210a6ec2 Typo 2013-10-25 21:03:50 +02:00
Antoine Pitrou f36388059e Use a simpler example 2013-10-25 21:03:28 +02:00
Antoine Pitrou 9d74f7717b Remove openat support 2013-10-23 19:49:13 +02:00
Antoine Pitrou 41ca0b81e0 Mention the dedicated branch in the Mercurial repo. 2013-03-01 23:24:24 +01:00
Antoine Pitrou f463d32478 Add a as_uri() method as suggested by Charles-François, to return a file URI. 2013-03-01 23:10:53 +01:00
Antoine Pitrou 3b72e78196 Amend the collapsing the leading slashes to account for the POSIX special case of two leading slashes.
Thanks to Daniel Colascione for noticing.
2012-12-29 01:46:48 +01:00
Antoine Pitrou ee6f30d19a Replace subscription with slashing 2012-11-07 20:25:27 +01:00
Antoine Pitrou 7b8178a28b Path.join() is now Path.joinpath() 2012-11-07 20:06:20 +01:00
Antoine Pitrou 5e28b87e87 Rename relative_to() to relative(), removing the old relative() method. 2012-10-10 21:01:50 +02:00
Antoine Pitrou 18abe3c987 Add with_name() and with_suffix() methods. 2012-10-10 20:55:44 +02:00
Antoine Pitrou f390aca7b6 They are seven (as I added "basename" too). 2012-10-10 20:35:33 +02:00
Antoine Pitrou 6c768f02a8 Replace ".ext" with ".suffix", and add the ".suffixes" property. 2012-10-10 20:34:57 +02:00
Antoine Pitrou 44fa1d5fe1 Add a couple clarifications 2012-10-06 01:17:59 +02:00
Antoine Pitrou 47e356c506 Detail the semantics more, following python-ideas questions 2012-10-06 01:13:30 +02:00
Antoine Pitrou ff1f0a2827 Add Post-History 2012-10-06 01:04:50 +02:00
Antoine Pitrou d1323b7822 Fix UNC path example (Oleg Broytman) 2012-10-06 01:04:26 +02:00
Benjamin Peterson a5cb91b260 add missing $ 2012-10-05 17:29:21 -04:00
Antoine Pitrou 56f8cb38a7 Push PEP 428 - object-oriented filesystem paths 2012-10-05 20:19:40 +02:00