Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								35a4eb299a 
								
							 
						 
						
							
							
								
								gh-84459: Make wording more specific for Path.replace (GH-91853)  
							
							... 
							
							
							
							GH-84459
(cherry picked from commit 161dff7e10 
							
						 
						
							2022-04-27 15:20:53 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1e4044c74e 
								
							 
						 
						
							
							
								
								Fix typo in Path.iterdir docs (GH-31822)  
							
							... 
							
							
							
							(cherry picked from commit 795b365e8a 
							
						 
						
							2022-03-22 20:16:18 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									andrei kulakov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								dc2e11ed5a 
								
							 
						 
						
							
							
								
								[3.9] bpo-41082: Add note on errors that may be raised by home() and expanduser() (GH-28186)  
							
							... 
							
							
							
							Co-authored-by: Łukasz Langa <lukasz@langa.pl> 
							
						 
						
							2021-09-08 19:24:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Steve Dower 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								34f93002ba 
								
							 
						 
						
							
							
								
								bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294)  
							
							... 
							
							
							
							Co-authored-by: Barney Gale <barney.gale@gmail.com> 
							
						 
						
							2021-04-07 18:12:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Skeleton (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ef7b937b8f 
								
							 
						 
						
							
							
								
								[3.9] bpo-40833: Clarify Path.rename doc-string regarding relative paths (GH-20554)  
							
							... 
							
							
							
							(cherry picked from commit f97e42ef4d 
							
						 
						
							2020-10-03 13:44:14 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bd078df283 
								
							 
						 
						
							
							
								
								[3.9] bpo-40486: Specify what happens if directory content change diring iteration (GH-22025) (GH-22093)  
							
							... 
							
							
							
							(cherry picked from commit 306cfb3a37 
							
						 
						
							2020-09-04 15:29:06 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7fcd515c35 
								
							 
						 
						
							
							
								
								Fixed comment about pathlib.link_to: it was added in 3.8, not changed. (GH-21851)  
							
							... 
							
							
							
							(cherry picked from commit a3eae43aee 
							
						 
						
							2020-08-13 13:54:48 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3dd1153b99 
								
							 
						 
						
							
							
								
								bpo-41066: Update the comparison section for os vs pathlib (GH-21261)  
							
							... 
							
							
							
							(cherry picked from commit 0eb9deb4a6 
							
						 
						
							2020-08-13 12:59:07 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Miss Islington (bot) 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								318a18eb88 
								
							 
						 
						
							
							
								
								bpo-23082: Better error message for PurePath.relative_to() from pathlib (GH-19611)  
							
							... 
							
							
							
							Co-authored-by: Sadhana Srinivasan <rotuna@Sadhanas-MBP.fritz.box>
(cherry picked from commit 448325369f 
							
						 
						
							2020-05-25 13:01:20 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joannah Nanjekye 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f25fb6ebfe 
								
							 
						 
						
							
							
								
								bpo-39470: Indicate that `os.makedirs is equivalent to Path.mkdir` (GH-18216)  
							
							... 
							
							
							
							* Indicate os.makedirs is equivalent to Path.mkdir
* 📜 🤖  Added by blurb_it.
* ignore news feed
Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> 
							
						 
						
							2020-05-04 16:47:03 -03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Hoffmann 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8aea4b3605 
								
							 
						 
						
							
							
								
								bpo-40148: Add PurePath.with_stem() (GH-19295)  
							
							... 
							
							
							
							Add PurePath.with_stem() 
							
						 
						
							2020-04-19 17:29:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Lo 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c12375aa0b 
								
							 
						 
						
							
							
								
								bpo-39285: Clarify example for PurePath.match (GH-19458)  
							
							... 
							
							
							
							Fixes Issue39285
The example incorrectly returned True for match.
Furthermore the example is ambiguous in its usage of PureWindowsPath.
Windows is case-insensitve, however the underlying match functionality
utilizes fnmatch.fnmatchcase.
Automerge-Triggered-By: @pitrou 
							
						 
						
							2020-04-19 02:43:11 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								db283b32e7 
								
							 
						 
						
							
							
								
								bpo-39567: Document audit for os.walk, os.fwalk, Path.glob and Path.rglob. (GH-18499)  
							
							
							
						 
						
							2020-03-08 14:31:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								67152d0ed6 
								
							 
						 
						
							
							
								
								bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719)  
							
							
							
						 
						
							2020-03-04 14:51:50 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Girts 
								
							 
						 
						
							
							
							
							
								
							
							
								a01ba333af 
								
							 
						 
						
							
							
								
								bpo-30618: add readlink to pathlib.Path (GH-8285)  
							
							... 
							
							
							
							This adds a "readlink" method to pathlib.Path objects that calls through
to os.readlink.
https://bugs.python.org/issue30618 
Automerge-Triggered-By: @gpshead 
							
						 
						
							2019-10-23 14:18:40 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lysandros Nikolaou 
								
							 
						 
						
							
							
							
							
								
							
							
								af636f4f91 
								
							 
						 
						
							
							
								
								bpo-36182: Update pathlib.Path.write_text() docs (GH-12161)  
							
							... 
							
							
							
							with the case of an existing file 
							
						 
						
							2019-09-11 17:08:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									hui shang 
								
							 
						 
						
							
							
							
							
								
							
							
								088a09af4b 
								
							 
						 
						
							
							
								
								bpo-31163: Added return values to pathlib.Path instance's rename and replace methods. (GH-13582)  
							
							... 
							
							
							
							* bpo-31163: Added return values to pathlib.Path instance's rename and replace methods. 
							
						 
						
							2019-09-11 14:26:49 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hai Shi 
								
							 
						 
						
							
							
							
							
								
							
							
								82642a052d 
								
							 
						 
						
							
							
								
								bpo-37689: add Path.is_relative_to() method (GH-14982)  
							
							
							
						 
						
							2019-08-13 21:54:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									zlohhcuB treboR 
								
							 
						 
						
							
							
							
							
								
							
							
								d9e006bcef 
								
							 
						 
						
							
							
								
								bpo-33123: pathlib: Add missing_ok parameter to Path.unlink (GH-6191)  
							
							... 
							
							
							
							Similarly to how several pathlib file creation functions have an "exists_ok" parameter, we should introduce "missing_ok" that makes removal functions not raise an exception when a file or directory is already absent.  IMHO, this should cover Path.unlink and Path.rmdir.  Note, Path.resolve() has a "strict" parameter since 3.6 that does the same thing. Naming this of this new parameter tries to be consistent with the "exists_ok" parameter as that is more explicit about what it does (as opposed to "strict").
https://bugs.python.org/issue33123  
							
						 
						
							2019-05-15 15:02:11 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Julien Palard 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1d4b16051f 
								
							 
						 
						
							
							
								
								Doc: Be explicit that Pathlib resolve was strict before 3.6. (GH-11316)  
							
							
							
						 
						
							2019-05-08 17:01:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joannah Nanjekye 
								
							 
						 
						
							
							
							
							
								
							
							
								6b5b013bcc 
								
							 
						 
						
							
							
								
								bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)  
							
							
							
						 
						
							2019-05-04 17:27:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eivind Teig 
								
							 
						 
						
							
							
							
							
								
							
							
								537b6caa56 
								
							 
						 
						
							
							
								
								bpo-22062: Updated docstring and documentation for pathlib (GH-8519)  
							
							... 
							
							
							
							Original patch by Mike Short
https://bugs.python.org/issue22062  
							
						 
						
							2019-02-11 02:47:09 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Xtreak 
								
							 
						 
						
							
							
							
							
								
							
							
								6f9c55d1c0 
								
							 
						 
						
							
							
								
								bpo-34825: Add more entries to os to pathlib reference table (GH-9608)  
							
							... 
							
							
							
							The added functions are as below :
| os module     | Pathlib       |
| ------------- | ------------- |
| os.chmod   | Path.chmod  |
| os.mkdir  | Path.mkdir  | 
| os.rename | Path.rename |
| os.replace | Path.replace |
| os.rmdir  | Path.rmdir |
| os.remove, os.unlink | Path.unlink |
| os.path.samefile | Path.samefile |
Thanks
https://bugs.python.org/issue34825  
							
						 
						
							2018-10-05 08:24:11 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0185f34ddc 
								
							 
						 
						
							
							
								
								bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant 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. 
							
						 
						
							2018-09-18 11:28:51 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Xtreak 
								
							 
						 
						
							
							
							
							
								
							
							
								5b2657fb8c 
								
							 
						 
						
							
							
								
								bpo-34319: Clarify file handler closure in pathlib.read_text (GH-8645)  
							
							... 
							
							
							
							Patch by Terry Jan Reedy. 
							
						 
						
							2018-08-06 15:55:03 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Stefan Otte 
								
							 
						 
						
							
							
							
							
								
							
							
								46dc4e34ed 
								
							 
						 
						
							
							
								
								bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655)  
							
							
							
						 
						
							2018-08-03 23:49:42 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Łukasz Langa 
								
							 
						 
						
							
							
							
							
								
							
							
								47320a652e 
								
							 
						 
						
							
							
								
								Document Path.is_mount(), update Misc/ACKS and Misc/NEWS ( #2980 )  
							
							
							
						 
						
							2017-08-01 16:47:50 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jamiel Almeida 
								
							 
						 
						
							
							
							
							
								
							
							
								ae8750bca8 
								
							 
						 
						
							
							
								
								bpo-24899: Add comparison table for os.path -> pathlib (GH-1753)  
							
							
							
						 
						
							2017-06-02 11:36:02 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Marco Buttu 
								
							 
						 
						
							
							
							
							
								
							
							
								7b2491a6aa 
								
							 
						 
						
							
							
								
								bpo-27200: Fix pathlib, ssl, turtle and weakref doctests (GH-616)  
							
							
							
						 
						
							2017-04-13 17:17:59 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								bf7dcb9cd0 
								
							 
						 
						
							
							
								
								Remove spurious article.  
							
							
							
						 
						
							2016-10-15 15:13:20 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								11194f7e0f 
								
							 
						 
						
							
							
								
								Remove spurious article.  
							
							
							
						 
						
							2016-10-15 15:12:03 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								009bc05fdc 
								
							 
						 
						
							
							
								
								Merge from 3.5  
							
							
							
						 
						
							2016-10-01 01:07:17 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								5e3677d7af 
								
							 
						 
						
							
							
								
								Fix markup in pathlib.rst  
							
							
							
						 
						
							2016-10-01 01:06:52 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								50bb940ab8 
								
							 
						 
						
							
							
								
								Merge from 3.5  
							
							
							
						 
						
							2016-10-01 01:03:01 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								06a8ac0f26 
								
							 
						 
						
							
							
								
								Fix Path.glob() link, reported by SilentGhost  
							
							
							
						 
						
							2016-10-01 01:02:39 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								8ec8749a38 
								
							 
						 
						
							
							
								
								Closes   #27722 : Merge with 3.5  
							
							
							
						 
						
							2016-08-09 17:10:53 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								7a26da5845 
								
							 
						 
						
							
							
								
								Issue  #27722 : Fix default for touch method's 'mode' argument  
							
							
							
						 
						
							2016-08-09 17:10:39 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								663dacda4d 
								
							 
						 
						
							
							
								
								Issue  #27180 : Merge from 3.5  
							
							
							
						 
						
							2016-07-14 07:45:24 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								2b8792137b 
								
							 
						 
						
							
							
								
								Issue  #27180 : Clarify Path.rename() behavior on Unix systems  
							
							... 
							
							
							
							Patch by Evelyn Mitchell. 
							
						 
						
							2016-07-14 07:44:59 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Terry Jan Reedy 
								
							 
						 
						
							
							
							
							
								
							
							
								4da945f361 
								
							 
						 
						
							
							
								
								Merge Issue  #22558 .  
							
							
							
						 
						
							2016-06-11 15:06:08 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Terry Jan Reedy 
								
							 
						 
						
							
							
							
							
								
							
							
								fa089b9b0b 
								
							 
						 
						
							
							
								
								Issue  #22558 : Add remaining doc links to source code for Python-coded modules.  
							
							... 
							
							
							
							Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi. 
							
						 
						
							2016-06-11 15:02:54 -04: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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								f08a308ebb 
								
							 
						 
						
							
							
								
								Docs for issue  #22570 . (Merge 3.5->3.6)  
							
							
							
						 
						
							2016-01-06 11:37:52 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								1469d744bc 
								
							 
						 
						
							
							
								
								Cross-reference os.DirEntry and pathlib.Path for issue  #22570 .  
							
							
							
						 
						
							2016-01-06 11:36:03 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								05075203c5 
								
							 
						 
						
							
							
								
								Add versionadded (3.4.5) to docs for issue  #22570 . (Merge 3.4->3.5)  
							
							
							
						 
						
							2016-01-06 11:26:36 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
							
							
								
							
							
								b1360543e5 
								
							 
						 
						
							
							
								
								Add versionadded (3.4.5) to docs for issue  #22570 .  
							
							
							
						 
						
							2016-01-06 11:23:31 -08:00