<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/pathlib.py, branch misc-acks-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-38811: Check for presence of os.link method in pathlib (GH-17225)</title>
<updated>2019-12-16T12:23:55+00:00</updated>
<author>
<name>Toke Høiland-Jørgensen</name>
<email>toke@redhat.com</email>
</author>
<published>2019-12-16T12:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=092435e932dee1802784ec28f39454f50fdd879a'/>
<id>092435e932dee1802784ec28f39454f50fdd879a</id>
<content type='text'>
Commit 6b5b013bcc22 ("bpo-26978: Implement pathlib.Path.link_to (Using
os.link) (GH-12990)") introduced a new link_to method in pathlib. However,
this makes pathlib crash when the 'os' module is missing a 'link' method.

Fix this by checking for the presence of the 'link' method on pathlib
module import, and if it's not present, turn it into a runtime error like
those emitted when there is no lchmod() or symlink().

Signed-off-by: Toke Høiland-Jørgensen &lt;toke@redhat.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 6b5b013bcc22 ("bpo-26978: Implement pathlib.Path.link_to (Using
os.link) (GH-12990)") introduced a new link_to method in pathlib. However,
this makes pathlib crash when the 'os' module is missing a 'link' method.

Fix this by checking for the presence of the 'link' method on pathlib
module import, and if it's not present, turn it into a runtime error like
those emitted when there is no lchmod() or symlink().

Signed-off-by: Toke Høiland-Jørgensen &lt;toke@redhat.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38994: Implement __class_getitem__ for PathLike (GH-17498)</title>
<updated>2019-12-08T20:31:15+00:00</updated>
<author>
<name>Batuhan Taşkaya</name>
<email>47358913+isidentical@users.noreply.github.com</email>
</author>
<published>2019-12-08T20:31:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=526606baf76e7a5309bb00f3bfaefa861a2014ba'/>
<id>526606baf76e7a5309bb00f3bfaefa861a2014ba</id>
<content type='text'>
https://bugs.python.org/issue38994</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue38994</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-38811: Check for presence of os.link method in pathlib. (GH-17170)" (#17219)</title>
<updated>2019-11-18T11:26:37+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-11-18T11:26:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=59c80889ff3f74230a613732aacf93d4de1e0e04'/>
<id>59c80889ff3f74230a613732aacf93d4de1e0e04</id>
<content type='text'>
This reverts commit 111772fc27cfe388bc060f019d68a3e33481ec65.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 111772fc27cfe388bc060f019d68a3e33481ec65.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38811: Check for presence of os.link method in pathlib. (GH-17170)</title>
<updated>2019-11-17T17:06:38+00:00</updated>
<author>
<name>Toke Høiland-Jørgensen</name>
<email>toke@toke.dk</email>
</author>
<published>2019-11-17T17:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=111772fc27cfe388bc060f019d68a3e33481ec65'/>
<id>111772fc27cfe388bc060f019d68a3e33481ec65</id>
<content type='text'>
Fix also the Path.symplink() method implementation for the case when
symlinks are not supported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix also the Path.symplink() method implementation for the case when
symlinks are not supported.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38422: Clarify docstrings of pathlib suffix(es) (GH-16679)</title>
<updated>2019-11-02T16:46:24+00:00</updated>
<author>
<name>Ram Rachum</name>
<email>ram@rachum.com</email>
</author>
<published>2019-11-02T16:46:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8d4fef4ee2a318097f429cf6cbd4fb2e430bb9da'/>
<id>8d4fef4ee2a318097f429cf6cbd4fb2e430bb9da</id>
<content type='text'>
Whenever I use `path.suffix` I have to check again whether it includes the dot or not. I decided to add it to the docstring so I won't have to keep checking. 


https://bugs.python.org/issue38422



Automerge-Triggered-By: @pitrou</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Whenever I use `path.suffix` I have to check again whether it includes the dot or not. I decided to add it to the docstring so I won't have to keep checking. 


https://bugs.python.org/issue38422



Automerge-Triggered-By: @pitrou</pre>
</div>
</content>
</entry>
<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-31202: Preserve case of literal parts in Path.glob() on Windows. (GH-16860)</title>
<updated>2019-10-21T17:37:15+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-10-21T17:37:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=10ecbadb799ddf3393d1fc80119a3db14724d381'/>
<id>10ecbadb799ddf3393d1fc80119a3db14724d381</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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-34775: Return NotImplemented in PurePath division. (GH-9509)</title>
<updated>2019-08-08T05:41:10+00:00</updated>
<author>
<name>aiudirog</name>
<email>aiudirog@gmail.com</email>
</author>
<published>2019-08-08T05:41:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4c69be22df3852f17873a74d015528d9a8ae92d6'/>
<id>4c69be22df3852f17873a74d015528d9a8ae92d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
