<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Doc/library/pathlib.rst, branch 3.10</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/library/pathlib.rst?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc/library/pathlib.rst?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2023-02-14T10:47:49Z</updated>
<entry>
<title>GH-101898: Fix missing term references for hashable definition (GH-101899)</title>
<updated>2023-02-14T10:47:49Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-02-14T10:47:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bc3718eb4b6defcdffb23b0c6f5879c5e721609a'/>
<id>urn:sha1:bc3718eb4b6defcdffb23b0c6f5879c5e721609a</id>
<content type='text'>
Fix missing term references for hashable definition
(cherry picked from commit 3690688149dca11589af59b7704541336613199a)

Co-authored-by: Furkan Onder &lt;furkanonder@protonmail.com&gt;</content>
</entry>
<entry>
<title>gh-98240: Updated Path.rename docs, when it is atomic (GH-98245)</title>
<updated>2023-01-30T01:52:46Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-01-30T01:52:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=efcab4dd6353bdbfd39aeb3b6b23626579e91957'/>
<id>urn:sha1:efcab4dd6353bdbfd39aeb3b6b23626579e91957</id>
<content type='text'>
(cherry picked from commit 0023f51debeeeef483a6362ee12d67c4da086af3)

Co-authored-by: Mateusz &lt;mateka@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-86610: Use attribute directive in docs for pathlib.PurePath (GH-101114) (#101206)</title>
<updated>2023-01-20T22:28:35Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-01-20T22:28:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6919c36541a141ee6d98d36fda2aa9f2c3b3ac5f'/>
<id>urn:sha1:6919c36541a141ee6d98d36fda2aa9f2c3b3ac5f</id>
<content type='text'>
(cherry picked from commit 01093b82037fbae83623581294a0f1cf5b4a44b0)

Co-authored-by: Barney Gale &lt;barney.gale@gmail.com&gt;</content>
</entry>
<entry>
<title>gh-87691: clarify use of anchor in pathlib docs (GH-100782)</title>
<updated>2023-01-06T01:56:34Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-01-06T01:56:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f5fa2c1e7f158fbc2ac4ad936e39fbe6253ae354'/>
<id>urn:sha1:f5fa2c1e7f158fbc2ac4ad936e39fbe6253ae354</id>
<content type='text'>
This is feedback from https://github.com/python/cpython/pull/100737GH-discussion_r1062968696

This matches the wording from the `os.path.join` docs better:
https://docs.python.org/3/library/os.path.htmlGH-os.path.join

In particular, the previous use of "anchor" was incorrect given the
pathlib definition of "anchor".

(cherry picked from commit 2f2fa03ff3d566b675020787e23de8fb4ca78e99)

Co-authored-by: Shantanu &lt;12621235+hauntsaninja@users.noreply.github.com&gt;
Co-authored-by: Barney Gale &lt;barney.gale@gmail.com&gt;</content>
</entry>
<entry>
<title>gh-87691: add an absolute path pathlib example in / operator docs (GH-100737)</title>
<updated>2023-01-05T23:04:57Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-01-05T23:04:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4bdc57a3d2aceadbc9150febe6717ef92b8d6aa5'/>
<id>urn:sha1:4bdc57a3d2aceadbc9150febe6717ef92b8d6aa5</id>
<content type='text'>
The behaviour is fully explained a couple paragraphs above, but it may be useful to have a brief example to cover the behaviour.
(cherry picked from commit 1ae619c911ec8e096f83eeb7cc57fcd966950a3d)

Co-authored-by: Shantanu &lt;12621235+hauntsaninja@users.noreply.github.com&gt;
Automerge-Triggered-By: GH:hauntsaninja</content>
</entry>
<entry>
<title>Add additional pointers to pathlib's mapping to os.path functions (GH-94828)</title>
<updated>2022-07-15T22:16:45Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-07-15T22:16:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6654392587ede1c8e595a8fcdd273a02bc04ea51'/>
<id>urn:sha1:6654392587ede1c8e595a8fcdd273a02bc04ea51</id>
<content type='text'>
* Add additional pointers to pathlib's mapping to os.path functions

os.path.splitext has a somewhat quirky signature since it mixes the path and filename components but I wanted the documentation to mention `PurePath.stem` as the natural counterpart to `PurePath.suffix` for the common use of `os.path.splitext` to turn "file.py" into "file" and "py".

Technically this could have some discussion of how to handle the parent directory hierarchy but that seems a bit out of keeping with the spirit of this table so I omitted mentioning `PurePath.parents` here.

* Update Doc/library/pathlib.rst

Co-authored-by: Ezio Melotti &lt;ezio.melotti@gmail.com&gt;

Co-authored-by: Ezio Melotti &lt;ezio.melotti@gmail.com&gt;
(cherry picked from commit 3789c635772fbdeb5d0fc32aa811fd6b1d935a60)

Co-authored-by: Chris Adams &lt;chris@improbable.org&gt;</content>
</entry>
<entry>
<title>[3.10] gh-93851: Fix all broken links in Doc/ (GH-93853) (GH-94078)</title>
<updated>2022-06-21T19:37:09Z</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2022-06-21T19:37:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38fdff9274835c008c1e6c0c6546c23139e77c0f'/>
<id>urn:sha1:38fdff9274835c008c1e6c0c6546c23139e77c0f</id>
<content type='text'>
(cherry picked from commit f62ff97f31a775cc7956adeae32c14e7c85bdc15)

Co-authored-by: Oleg Iarygin &lt;oleg@arhadthedev.net&gt;
</content>
</entry>
<entry>
<title>gh-91317: Document that Path does not collapse initial `//` (GH-32193)</title>
<updated>2022-06-10T23:10:29Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-06-10T23:10:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9fafc0acf7a3bbd52d6867f15425783859cc3cbe'/>
<id>urn:sha1:9fafc0acf7a3bbd52d6867f15425783859cc3cbe</id>
<content type='text'>
Documentation for `pathlib` says:

&gt; Spurious slashes and single dots are collapsed, but double dots ('..') are not, since this would change the meaning of a path in the face of symbolic links:

However, it omits that initial double slashes also aren't collapsed.

Later, in documentation of `PurePath.drive`, `PurePath.root`, and `PurePath.name` it mentions UNC but:

- this abbreviation says nothing to a person who is unaware about existence of UNC (Wikipedia doesn't help either by [giving a disambiguation page](https://en.wikipedia.org/wiki/UNC))
- it shows up only if a person needs to use a specific property or decides to fully learn what the module provides.

For context, see the BPO entry.
(cherry picked from commit 78f1a436949209dab1f4a9d04036a1a42b165086)

Co-authored-by: Oleg Iarygin &lt;oleg@arhadthedev.net&gt;</content>
</entry>
<entry>
<title>[3.10] Fix `PurePath.relative_to` links in the pathlib documentation (GH-93268) (GH-93590)</title>
<updated>2022-06-07T21:58:43Z</updated>
<author>
<name>jacksonriley</name>
<email>52106215+jacksonriley@users.noreply.github.com</email>
</author>
<published>2022-06-07T21:58:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6b9122483f1f26afb0c41bd676f9754ffe726e18'/>
<id>urn:sha1:6b9122483f1f26afb0c41bd676f9754ffe726e18</id>
<content type='text'>
These are currently broken as they refer to :meth:`Path.relative_to` rather than :meth:`PurePath.relative_to`, and `relative_to` is a method on `PurePath`..
(cherry picked from commit 8ef7929baffd0038bcb38978a6a91ecc63bf0de2)

Co-authored-by: jacksonriley &lt;52106215+jacksonriley@users.noreply.github.com&gt;

Backport of #93268</content>
</entry>
<entry>
<title>[3.10] gh-72073: Add Windows case in pathlib.rename (GH-93002) (GH-93029)</title>
<updated>2022-05-20T22:44:07Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-20T22:44:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3c2a1e7f4af3c5c54e04dfe9ac3a68d2351b00fb'/>
<id>urn:sha1:3c2a1e7f4af3c5c54e04dfe9ac3a68d2351b00fb</id>
<content type='text'>
GH-72073

https://docs.python.org/3.12/library/pathlib.htmlGH-pathlib.Path.rename
(cherry picked from commit f51ed04c663417f88e10eeb21dad23250358bafa)


Co-authored-by: Stanley &lt;46876382+slateny@users.noreply.github.com&gt;

Automerge-Triggered-By: GH:brettcannon</content>
</entry>
</feed>
