<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/pathlib.py, branch v3.8.9</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-40833: Clarify Path.rename doc-string regarding relative paths (GH-20554)</title>
<updated>2020-10-03T10:11:39+00:00</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-10-03T10:11:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4b982e0dd7354c9103a0cae8e6e78b5e57794e77'/>
<id>4b982e0dd7354c9103a0cae8e6e78b5e57794e77</id>
<content type='text'>
(cherry picked from commit f97e42ef4d97dee64f45ed65170a6e77c8e46fdf)

Co-authored-by: Ram Rachum &lt;ram@rachum.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit f97e42ef4d97dee64f45ed65170a6e77c8e46fdf)

Co-authored-by: Ram Rachum &lt;ram@rachum.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33660: Fix PosixPath to resolve a relative path on root (GH-21975)</title>
<updated>2020-08-27T00:47:10+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-08-27T00:47:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7475aa2c590e33a47f5e79e4079bca0645e93f2f'/>
<id>7475aa2c590e33a47f5e79e4079bca0645e93f2f</id>
<content type='text'>
(cherry picked from commit 94ad6c674f7687ef22853cb8d42b440d6b42ddc8)

Co-authored-by: Dong-hee Na &lt;donghee.na92@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 94ad6c674f7687ef22853cb8d42b440d6b42ddc8)

Co-authored-by: Dong-hee Na &lt;donghee.na92@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39916: Use os.scandir() as context manager in Path.glob(). (GH-18880)</title>
<updated>2020-03-11T17:07:04+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-03-11T17:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c22879914b03ff2da768e557b5c00e9c8c62c695'/>
<id>c22879914b03ff2da768e557b5c00e9c8c62c695</id>
<content type='text'>
(cherry picked from commit 704e2065f8b8021a4a6999470fb6ed3453f7679e)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 704e2065f8b8021a4a6999470fb6ed3453f7679e)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38894: Fix pathlib.Path.glob in the presence of symlinks and insufficient permissions (GH-18815)</title>
<updated>2020-03-07T18:11:24+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-03-07T18:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=928b4dd0edf0022190a8a296c8ea65e7ef55c694'/>
<id>928b4dd0edf0022190a8a296c8ea65e7ef55c694</id>
<content type='text'>
Co-authored-by: Matt Wozniski &lt;mwozniski@bloomberg.net&gt;
(cherry picked from commit eb7560a73d46800e4ade4a8869139b48e6c92811)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Matt Wozniski &lt;mwozniski@bloomberg.net&gt;
(cherry picked from commit eb7560a73d46800e4ade4a8869139b48e6c92811)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` on Windows (GH-17961)</title>
<updated>2020-01-28T09:59:43+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-01-28T09:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=595b516965ee88b817dc1b3d7713e1f3f263634d'/>
<id>595b516965ee88b817dc1b3d7713e1f3f263634d</id>
<content type='text'>
In bpo-36264 os.path.expanduser was changed to ignore HOME on Windows.

Path.expanduser/home still honored HOME despite being documented as behaving the same
as os.path.expanduser. This makes them also ignore HOME so that both implementations
behave the same way again.
(cherry picked from commit c45a2aa9e255b5c7c211faa79f6b23895b64ab27)

Co-authored-by: Christoph Reiter &lt;reiter.christoph@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In bpo-36264 os.path.expanduser was changed to ignore HOME on Windows.

Path.expanduser/home still honored HOME despite being documented as behaving the same
as os.path.expanduser. This makes them also ignore HOME so that both implementations
behave the same way again.
(cherry picked from commit c45a2aa9e255b5c7c211faa79f6b23895b64ab27)

Co-authored-by: Christoph Reiter &lt;reiter.christoph@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38811: Check for presence of os.link method in pathlib (GH-17225)</title>
<updated>2019-12-16T12:42:20+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-12-16T12:42:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8d0f36940e728989822c3789025b0813a8fe249a'/>
<id>8d0f36940e728989822c3789025b0813a8fe249a</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;
(cherry picked from commit 092435e932dee1802784ec28f39454f50fdd879a)

Co-authored-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;
(cherry picked from commit 092435e932dee1802784ec28f39454f50fdd879a)

Co-authored-by: Toke Høiland-Jørgensen &lt;toke@redhat.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38422: Clarify docstrings of pathlib suffix(es) (GH-16679)</title>
<updated>2019-11-02T17:04:10+00:00</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-11-02T17:04:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=aa1fee8ffb0fb77a873c69d311759081346f8f4a'/>
<id>aa1fee8ffb0fb77a873c69d311759081346f8f4a</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
(cherry picked from commit 8d4fef4ee2a318097f429cf6cbd4fb2e430bb9da)

Co-authored-by: Ram Rachum &lt;ram@rachum.com&gt;</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
(cherry picked from commit 8d4fef4ee2a318097f429cf6cbd4fb2e430bb9da)

Co-authored-by: Ram Rachum &lt;ram@rachum.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31202: Preserve case of literal parts in Path.glob() on Windows. (GH-16860)</title>
<updated>2019-10-21T18:17:57+00:00</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-21T18:17:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2f8d4f08e2fa62cd5c3f6f824be3e7513ff87e07'/>
<id>2f8d4f08e2fa62cd5c3f6f824be3e7513ff87e07</id>
<content type='text'>
(cherry picked from commit 10ecbadb799ddf3393d1fc80119a3db14724d381)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 10ecbadb799ddf3393d1fc80119a3db14724d381)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31163: Added return values to pathlib.Path instance's rename and replace methods. (GH-13582) (GH-15944)</title>
<updated>2019-09-11T14:12:54+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-11T14:12:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cbd7b2a399a8ff2ed9994c380b07ef598892b6b1'/>
<id>cbd7b2a399a8ff2ed9994c380b07ef598892b6b1</id>
<content type='text'>
* bpo-31163: Added return values to pathlib.Path instance's rename and replace methods.
(cherry picked from commit 088a09af4bdeff52b9dedeb7acd1e82069f37d98)

Co-authored-by: hui shang &lt;shangdahao@gmail.com&gt;</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.
(cherry picked from commit 088a09af4bdeff52b9dedeb7acd1e82069f37d98)

Co-authored-by: hui shang &lt;shangdahao@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34775: Return NotImplemented in PurePath division. (GH-9509) (GH-15172)</title>
<updated>2019-08-29T05:05:59+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-08-29T05:05:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4adcaf81513e57a2a4e278073a89efb1375af8df'/>
<id>4adcaf81513e57a2a4e278073a89efb1375af8df</id>
<content type='text'>
(cherry picked from commit 4c69be22df3852f17873a74d015528d9a8ae92d6)

Co-authored-by: aiudirog &lt;aiudirog@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 4c69be22df3852f17873a74d015528d9a8ae92d6)

Co-authored-by: aiudirog &lt;aiudirog@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
