<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Doc/library/pathlib.rst, branch fix-namedexpr-comment</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-30618: add readlink to pathlib.Path (GH-8285)</title>
<updated>2019-10-23T21:18:40+00:00</updated>
<author>
<name>Girts</name>
<email>girtsf@users.noreply.github.com</email>
</author>
<published>2019-10-23T21:18:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a01ba333affcc0677146dc8af57179bdb808d608'/>
<id>a01ba333affcc0677146dc8af57179bdb808d608</id>
<content type='text'>
This adds a "readlink" method to pathlib.Path objects that calls through
to os.readlink.


https://bugs.python.org/issue30618



Automerge-Triggered-By: @gpshead</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a "readlink" method to pathlib.Path objects that calls through
to os.readlink.


https://bugs.python.org/issue30618



Automerge-Triggered-By: @gpshead</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36182: Update pathlib.Path.write_text() docs (GH-12161)</title>
<updated>2019-09-11T15:08:10+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2019-09-11T15:08:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=af636f4f91b8289b6dad95cb84123f6e22fd7f4f'/>
<id>af636f4f91b8289b6dad95cb84123f6e22fd7f4f</id>
<content type='text'>
with the case of an existing file</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with the case of an existing file</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31163: Added return values to pathlib.Path instance's rename and replace methods. (GH-13582)</title>
<updated>2019-09-11T13:26:49+00:00</updated>
<author>
<name>hui shang</name>
<email>shangdahao@gmail.com</email>
</author>
<published>2019-09-11T13:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=088a09af4bdeff52b9dedeb7acd1e82069f37d98'/>
<id>088a09af4bdeff52b9dedeb7acd1e82069f37d98</id>
<content type='text'>
* bpo-31163: Added return values to pathlib.Path instance's rename and replace methods.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-31163: Added return values to pathlib.Path instance's rename and replace methods.</pre>
</div>
</content>
</entry>
<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>
</feed>
