<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Doc/library/pathlib.rst, branch alex-patch-1</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-37689: add Path.is_relative_to() method (GH-14982)</title>
<updated>2019-08-13T19:54:02+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2019-08-13T19:54:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=82642a052dc46b2180679518bc8d87e1a28a88b5'/>
<id>82642a052dc46b2180679518bc8d87e1a28a88b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33123: pathlib: Add missing_ok parameter to Path.unlink (GH-6191)</title>
<updated>2019-05-15T22:02:11+00:00</updated>
<author>
<name>‮zlohhcuB treboR</name>
<email>robert.buchholz@goodpoint.de</email>
</author>
<published>2019-05-15T22:02:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d9e006bcefe6fac859b1b5d741725b9a91991044'/>
<id>d9e006bcefe6fac859b1b5d741725b9a91991044</id>
<content type='text'>
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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Be explicit that Pathlib resolve was strict before 3.6. (GH-11316)</title>
<updated>2019-05-08T15:01:11+00:00</updated>
<author>
<name>Julien Palard</name>
<email>julien@palard.fr</email>
</author>
<published>2019-05-08T15:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1d4b16051f8550fd7dada3670a3e83ae13b99d3b'/>
<id>1d4b16051f8550fd7dada3670a3e83ae13b99d3b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)</title>
<updated>2019-05-04T15:27:10+00:00</updated>
<author>
<name>Joannah Nanjekye</name>
<email>33177550+nanjekyejoannah@users.noreply.github.com</email>
</author>
<published>2019-05-04T15:27:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6b5b013bcc22a27d6231c2796882e44ddb42be67'/>
<id>6b5b013bcc22a27d6231c2796882e44ddb42be67</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-22062: Updated docstring and documentation for pathlib (GH-8519)</title>
<updated>2019-02-11T10:47:09+00:00</updated>
<author>
<name>Eivind Teig</name>
<email>eivind.teig@gmail.com</email>
</author>
<published>2019-02-11T10:47:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=537b6caa565ec2fc304ba6f4400cd347ce2af64b'/>
<id>537b6caa565ec2fc304ba6f4400cd347ce2af64b</id>
<content type='text'>
Original patch by Mike Short


https://bugs.python.org/issue22062</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Original patch by Mike Short


https://bugs.python.org/issue22062</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34825: Add more entries to os to pathlib reference table (GH-9608)</title>
<updated>2018-10-05T15:24:11+00:00</updated>
<author>
<name>Xtreak</name>
<email>tirkarthi@users.noreply.github.com</email>
</author>
<published>2018-10-05T15:24:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6f9c55d1c0bb399911ded00bb6b3e6f43a514ea2'/>
<id>6f9c55d1c0bb399911ded00bb6b3e6f43a514ea2</id>
<content type='text'>
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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title> bpo-33721: Make some os.path functions and pathlib.Path methods be tolerant to invalid paths.  (#7695)</title>
<updated>2018-09-18T08:28:51+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-09-18T08:28:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0185f34ddcf07b78feb6ac666fbfd4615d26b028'/>
<id>0185f34ddcf07b78feb6ac666fbfd4615d26b028</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34319: Clarify file handler closure in pathlib.read_text (GH-8645)</title>
<updated>2018-08-06T19:55:03+00:00</updated>
<author>
<name>Xtreak</name>
<email>tirkarthi@users.noreply.github.com</email>
</author>
<published>2018-08-06T19:55:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5b2657fb8c5aaa98e5748e1c325c74b97ea12fd1'/>
<id>5b2657fb8c5aaa98e5748e1c325c74b97ea12fd1</id>
<content type='text'>
Patch by Terry Jan Reedy.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Terry Jan Reedy.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655)</title>
<updated>2018-08-03T20:49:42+00:00</updated>
<author>
<name>Stefan Otte</name>
<email>stefan.otte@gmail.com</email>
</author>
<published>2018-08-03T20:49:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=46dc4e34ed8005a688d7f3512844ef227a3465f4'/>
<id>46dc4e34ed8005a688d7f3512844ef227a3465f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Document Path.is_mount(), update Misc/ACKS and Misc/NEWS (#2980)</title>
<updated>2017-08-01T23:47:50+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2017-08-01T23:47:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=47320a652e872003f3dd3a9db4243067b09dd316'/>
<id>47320a652e872003f3dd3a9db4243067b09dd316</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
