| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:aee1d7c5-2037-0b02-6437-d234b2cf87ac |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 969E:CADE5:AB7EFC:E3B4EC:696992EF |
| html-safe-nonce | fa1b6af12a962cc9473e179751d4215d9e35e9b9fd1725505abc7e4dab44a3de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjlFOkNBREU1OkFCN0VGQzpFM0I0RUM6Njk2OTkyRUYiLCJ2aXNpdG9yX2lkIjoiODQ0OTUyNDg3MDI4NDI5NTUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 69642057bc0df7e85d4e3c862b5daf9e79059d3011b928d3cab35ecb86735d83 |
| hovercard-subject-tag | pull_request:645227145 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/26153/files |
| twitter:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| og:image:alt | This method is important and cannot be replaced with resolve()! resolve() will hit OS APIs to resolve symlinks/etc, and will fail on symlink loops, whereas absolute() just prepends the working dire... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/26153/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26153%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26153%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/26153/files |
| Reload | https://github.com/python/cpython/pull/26153/files |
| Reload | https://github.com/python/cpython/pull/26153/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/26153/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/26153/files |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| brettcannon | https://github.com/brettcannon |
| python:main | https://github.com/python/cpython/tree/main |
| barneygale:bpo-29688-pathlib-absolute-docs-tests | https://github.com/barneygale/cpython/tree/bpo-29688-pathlib-absolute-docs-tests |
|
Conversation
34
| https://github.com/python/cpython/pull/26153 |
|
Commits
9
| https://github.com/python/cpython/pull/26153/commits |
|
Checks
0
| https://github.com/python/cpython/pull/26153/checks |
|
Files changed
| https://github.com/python/cpython/pull/26153/files |
| Please reload this page | https://github.com/python/cpython/pull/26153/files |
|
bpo-29688: document and test pathlib.Path.absolute().
| https://github.com/python/cpython/pull/26153/files#top |
|
Show all changes
9 commits
| https://github.com/python/cpython/pull/26153/files |
|
06b0c74
bpo-29688: document and test `pathlib.Path.absolute()`.
barneygale May 15, 2021
| https://github.com/python/cpython/pull/26153/commits/06b0c740e9f7adeefc4764d9f5a1a59d5a5c2331 |
|
b5ff1e6
Add tests for UNC paths.
barneygale May 16, 2021
| https://github.com/python/cpython/pull/26153/commits/b5ff1e60e8d8eef2dd51199a926b96f30359cea6 |
|
8695087
Fix Windows tests (attempt 1)
barneygale May 16, 2021
| https://github.com/python/cpython/pull/26153/commits/8695087e57d9cbd17ed36824f80b988b19adc18e |
|
5539824
`assertEqualNormCase()` --> `assertEqual()`
barneygale May 16, 2021
| https://github.com/python/cpython/pull/26153/commits/5539824ece93f29df8a57ab7c0e38cedf72b8fc9 |
|
7cd4fff
Update Doc/library/pathlib.rst
barneygale Jan 1, 2022
| https://github.com/python/cpython/pull/26153/commits/7cd4fff08838e274e1696661aa8ab54c3bec7440 |
|
64204fd
Update Doc/library/pathlib.rst
barneygale Jan 1, 2022
| https://github.com/python/cpython/pull/26153/commits/64204fd34f020b13589f341e12964df430545b5f |
|
b2bf3da
Add news entry.
barneygale Jan 5, 2022
| https://github.com/python/cpython/pull/26153/commits/b2bf3dad776831e4d3e6f38576839b833faae95e |
|
2a9ebd0
Apply suggestions from code review
barneygale Jan 8, 2022
| https://github.com/python/cpython/pull/26153/commits/2a9ebd04cf4197e73b130ea78c93112717ac51e2 |
|
51aa187
Remove example in docs showing that `..` entries are retained.
barneygale Jan 11, 2022
| https://github.com/python/cpython/pull/26153/commits/51aa187aaf08e7713d7a79d28431d94cc8295246 |
|
Clear filters
| https://github.com/python/cpython/pull/26153/files |
| Please reload this page | https://github.com/python/cpython/pull/26153/files |
| Please reload this page | https://github.com/python/cpython/pull/26153/files |
|
pathlib.rst
| https://github.com/python/cpython/pull/26153/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c |
|
pathlib.py
| https://github.com/python/cpython/pull/26153/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
test_pathlib.py
| https://github.com/python/cpython/pull/26153/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
|
2022-01-05-03-21-21.bpo-29688.W06bSH.rst
| https://github.com/python/cpython/pull/26153/files#diff-6a9750760e6d1cbaa1ac4d03b9a01c336c29200ad32c7831c5a1298a12626edc |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L525 |
| Doc/library/pathlib.rst | https://github.com/python/cpython/pull/26153/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c |
|
View file
| https://github.com/barneygale/cpython/blob/51aa187aaf08e7713d7a79d28431d94cc8295246/Doc/library/pathlib.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26153/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26153/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c |
|
| https://github.com/python/cpython/pull/26153/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c |
|
| https://github.com/python/cpython/pull/26153/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c |
|
| https://github.com/python/cpython/pull/26153/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c |
|
| https://github.com/python/cpython/pull/26153/files#diff-1134e36a94ecfde1df43bee5efd285de5d67426fbca086425201ecc753f9139c |
| Lib/pathlib.py | https://github.com/python/cpython/pull/26153/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
View file
| https://github.com/barneygale/cpython/blob/51aa187aaf08e7713d7a79d28431d94cc8295246/Lib/pathlib.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26153/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26153/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
|
| https://github.com/python/cpython/pull/26153/files#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c |
| Lib/test/test_pathlib.py | https://github.com/python/cpython/pull/26153/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
|
View file
| https://github.com/barneygale/cpython/blob/51aa187aaf08e7713d7a79d28431d94cc8295246/Lib/test/test_pathlib.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26153/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/26153/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
|
| https://github.com/python/cpython/pull/26153/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
|
| https://github.com/python/cpython/pull/26153/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
|
| https://github.com/python/cpython/pull/26153/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
|
| https://github.com/python/cpython/pull/26153/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
| brettcannon | https://github.com/brettcannon |
| Jan 28, 2022 | https://github.com/python/cpython/pull/26153/files#r794955940 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/26153/files |
|
| https://github.com/python/cpython/pull/26153/files#diff-3dd97d2dc8816848d0b0c442e8fdeec9650b3de77935289a93f37ac6396ee17f |
| Misc/NEWS.d/next/Library/2022-01-05-03-21-21.bpo-29688.W06bSH.rst | https://github.com/python/cpython/pull/26153/files#diff-6a9750760e6d1cbaa1ac4d03b9a01c336c29200ad32c7831c5a1298a12626edc |
|
View file
| https://github.com/barneygale/cpython/blob/51aa187aaf08e7713d7a79d28431d94cc8295246/Misc/NEWS.d/next/Library/2022-01-05-03-21-21.bpo-29688.W06bSH.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/26153/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |