| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e2ca0cc0-1e35-2be9-5b25-d86716ba90a8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 91C8:D7362:AC1F81:E89929:696ABFCC |
| html-safe-nonce | d4b0d9f03bbfbef21f24f4b0bd38ff2af53d05e519649828f7b9e5fe9b6b0b6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUM4OkQ3MzYyOkFDMUY4MTpFODk5Mjk6Njk2QUJGQ0MiLCJ2aXNpdG9yX2lkIjoiNzUwMjU5MDM5MzU5MzgwNjc5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 030e8e7997710e355981a6784614e875249b1a4371de8327fbf7c00ac437ab42 |
| hovercard-subject-tag | pull_request:385230749 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/18841/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5ca81f34753ef17e252028f8ae7c11079857466d06a046e69b57a94138fc8353/python/cpython/pull/18841 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5ca81f34753ef17e252028f8ae7c11079857466d06a046e69b57a94138fc8353/python/cpython/pull/18841 |
| og:image:alt | os.path.expanduser(): don't guess other Windows users' home directories if the basename of the current user's home directory doesn't match their username.
This makes ntpath.expandus... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | barneygale |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/18841#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F18841 |
| 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%2F18841 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/18841 |
| Reload | https://github.com/python/cpython/pull/18841 |
| Reload | https://github.com/python/cpython/pull/18841 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
|
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/18841 |
|
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 |
| Jump to bottom | https://github.com/python/cpython/pull/18841#issue-comment-box |
| zooba | https://github.com/zooba |
| python:master | https://github.com/python/cpython/tree/master |
| barneygale:bpo-39899-pathlib-expanduser-reimpl | https://github.com/barneygale/cpython/tree/bpo-39899-pathlib-expanduser-reimpl |
|
bpo-39899: Make pathlib use os.path.expanduser() to expand home directories
| https://github.com/python/cpython/pull/18841#top |
| zooba | https://github.com/zooba |
| python:master | https://github.com/python/cpython/tree/master |
| barneygale:bpo-39899-pathlib-expanduser-reimpl | https://github.com/barneygale/cpython/tree/bpo-39899-pathlib-expanduser-reimpl |
|
Conversation
9
| https://github.com/python/cpython/pull/18841 |
|
Commits
1
| https://github.com/python/cpython/pull/18841/commits |
|
Checks
0
| https://github.com/python/cpython/pull/18841/checks |
|
Files changed
| https://github.com/python/cpython/pull/18841/files |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Mar 8, 2020 | https://github.com/python/cpython/pull/18841#issue-577451374 |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://bugs.python.org/issue39899 | https://bugs.python.org/issue39899 |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA not signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22 |
| Mar 8, 2020 | https://github.com/python/cpython/pull/18841#event-3108198178 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
| Mar 8, 2020 | https://github.com/python/cpython/pull/18841#issuecomment-596170425 |
| PSF contributor agreement | https://www.python.org/psf/contrib/contrib-form/ |
| @barneygale | https://github.com/barneygale |
| the steps outlined in the CPython devguide | https://devguide.python.org/pullrequest/#licensing |
| check yourself | https://check-python-cla.herokuapp.com/ |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Mar 8, 2020 | https://github.com/python/cpython/pull/18841#event-3108198207 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
|
CLA not signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20not%20signed%22 |
| Mar 9, 2020 | https://github.com/python/cpython/pull/18841#event-3112094688 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| force-pushed | https://github.com/python/cpython/compare/0e8285033d5bba4a35c9fefdac1ba5b0484ebc3e..b9b9801921108bdb7202509ac77ec599c3f0e32e |
| 0e82850 | https://github.com/python/cpython/commit/0e8285033d5bba4a35c9fefdac1ba5b0484ebc3e |
| b9b9801 | https://github.com/python/cpython/commit/b9b9801921108bdb7202509ac77ec599c3f0e32e |
|
Compare
| https://github.com/python/cpython/compare/0e8285033d5bba4a35c9fefdac1ba5b0484ebc3e..b9b9801921108bdb7202509ac77ec599c3f0e32e |
| March 10, 2020 20:23 | https://github.com/python/cpython/pull/18841#event-3116313647 |
| https://github.com/pitrou |
| pitrou | https://github.com/pitrou |
|
Apr 17, 2020
| https://github.com/python/cpython/pull/18841#pullrequestreview-395633390 |
|
View reviewed changes
| https://github.com/python/cpython/pull/18841/files |
| pitrou | https://github.com/pitrou |
| https://github.com/python/cpython/pull/18841#pullrequestreview-395633390 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @zooba | https://github.com/zooba |
| @pfmoore | https://github.com/pfmoore |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| Lib/ntpath.py | https://github.com/python/cpython/pull/18841/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| force-pushed | https://github.com/python/cpython/compare/b9b9801921108bdb7202509ac77ec599c3f0e32e..2a498929e193b6749ec6c4abc63fb631030add0c |
| b9b9801 | https://github.com/python/cpython/commit/b9b9801921108bdb7202509ac77ec599c3f0e32e |
| 2a49892 | https://github.com/python/cpython/commit/2a498929e193b6749ec6c4abc63fb631030add0c |
|
Compare
| https://github.com/python/cpython/compare/b9b9801921108bdb7202509ac77ec599c3f0e32e..2a498929e193b6749ec6c4abc63fb631030add0c |
| January 21, 2021 23:52 | https://github.com/python/cpython/pull/18841#event-4236112943 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Jan 22, 2021 | https://github.com/python/cpython/pull/18841#issuecomment-765223890 |
| @pitrou | https://github.com/pitrou |
| @pfmoore | https://github.com/pfmoore |
| @zooba | https://github.com/zooba |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://github.com/zooba |
| zooba | https://github.com/zooba |
| Apr 7, 2021 | https://github.com/python/cpython/pull/18841#issuecomment-814519269 |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Apr 7, 2021 | https://github.com/python/cpython/pull/18841#issuecomment-814538980 |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://github.com/zooba |
| zooba | https://github.com/zooba |
|
Apr 7, 2021
| https://github.com/python/cpython/pull/18841#pullrequestreview-630230595 |
|
View reviewed changes
| https://github.com/python/cpython/pull/18841/files |
| Lib/ntpath.py | https://github.com/python/cpython/pull/18841/files#diff-892add06b0598c5d7b07448e0ac87f5aa6b97fd0a79d77bcbc69092b70d1d065 |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| force-pushed | https://github.com/python/cpython/compare/2a498929e193b6749ec6c4abc63fb631030add0c..d7074c247f2651bc22f1374053723e20dfa01de8 |
| 2a49892 | https://github.com/python/cpython/commit/2a498929e193b6749ec6c4abc63fb631030add0c |
| d7074c2 | https://github.com/python/cpython/commit/d7074c247f2651bc22f1374053723e20dfa01de8 |
|
Compare
| https://github.com/python/cpython/compare/2a498929e193b6749ec6c4abc63fb631030add0c..d7074c247f2651bc22f1374053723e20dfa01de8 |
| April 7, 2021 22:03 | https://github.com/python/cpython/pull/18841#event-4565217638 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
| Apr 7, 2021 | https://github.com/python/cpython/pull/18841#issuecomment-815293099 |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
| https://github.com/zooba |
| zooba | https://github.com/zooba |
| 3f3d82b | https://github.com/python/cpython/commit/3f3d82b84823eb28abeedf317bbe107bbe7f6492 |
| Apr 7, 2021 | https://github.com/python/cpython/pull/18841#event-4565363081 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Apr 7, 2021 | https://github.com/python/cpython/pull/18841#event-4565363230 |
|
| https://github.com/barneygale |
| bpo-39899: os.path.expanduser(): don't guess other Windows users' hom… | https://github.com/python/cpython/pull/18841/commits/d7074c247f2651bc22f1374053723e20dfa01de8 |
| d7074c2 | https://github.com/python/cpython/pull/18841/commits/d7074c247f2651bc22f1374053723e20dfa01de8 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
|
Apr 8, 2021
| https://github.com/python/cpython/pull/18841#ref-pullrequest-853386849 |
|
bpo-39899: ntpath.expanduser(): don't check the basename of the directory matches the username if we're requesting the current user's home directory
#25277
| https://github.com/python/cpython/pull/25277 |
| https://github.com/alexdelorenzo |
| alexdelorenzo | https://github.com/alexdelorenzo |
|
Apr 16, 2021
| https://github.com/python/cpython/pull/18841#ref-issue-856331775 |
|
Python 3.10 alpha 7 introduces new changes to pathlib
alexdelorenzo/aiopath#4
| https://github.com/alexdelorenzo/aiopath/issues/4 |
| https://github.com/barneygale |
| barneygale | https://github.com/barneygale |
|
May 15, 2021
| https://github.com/python/cpython/pull/18841#ref-pullrequest-892388238 |
|
bpo-44136: remove pathlib._Flavour
#26141
| https://github.com/python/cpython/pull/26141 |
| https://github.com/akulakov |
| akulakov | https://github.com/akulakov |
|
Sep 6, 2021
| https://github.com/python/cpython/pull/18841#ref-pullrequest-989349857 |
|
[3.9] bpo-41082: Add note on errors that may be raised by home() and expanduser()
#28186
| https://github.com/python/cpython/pull/28186 |
| https://github.com/python/cpython/pull/18841 |
| barneygale | https://github.com/python/cpython/pull/18841 |
|
Apr 10, 2022
| https://github.com/python/cpython/pull/18841#ref-issue-1199032065 |
|
pathlib.Path.expanduser() does not call os.path.expanduser()
#84080
| https://github.com/python/cpython/issues/84080 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F18841 |
|
| https://github.com/zooba |
|
zooba
| https://github.com/zooba |
|
| https://github.com/python/cpython/pull/18841/files/2a498929e193b6749ec6c4abc63fb631030add0c |
|
| https://github.com/pitrou |
|
pitrou
| https://github.com/pitrou |
|
| https://github.com/python/cpython/pull/18841/files/b9b9801921108bdb7202509ac77ec599c3f0e32e |
| Please reload this page | https://github.com/python/cpython/pull/18841 |
|
| https://github.com/barneygale |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com/zooba |
|
| https://github.com/pitrou |
|
| https://github.com/bedevere-bot |
|
| 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 |