René's URL Explorer Experiment


Title: GH-103525: Improve exception message from `pathlib.PurePath()` by barneygale · Pull Request #103526 · python/cpython · GitHub

Open Graph Title: GH-103525: Improve exception message from `pathlib.PurePath()` by barneygale · Pull Request #103526 · python/cpython

X Title: GH-103525: Improve exception message from `pathlib.PurePath()` by barneygale · Pull Request #103526 · python/cpython

Description: Check that arguments are strings before calling os.path.join(). Also improve performance of PurePath(PurePath(...)) while we're in the area: we now use the unnormalized string path of path argument...

Open Graph Description: Check that arguments are strings before calling os.path.join(). Also improve performance of PurePath(PurePath(...)) while we're in the area: we now use the unnormalized string path of path argu...

X Description: Check that arguments are strings before calling os.path.join(). Also improve performance of PurePath(PurePath(...)) while we're in the area: we now use the unnormalized string path of path ...

Opengraph URL: https://github.com/python/cpython/pull/103526

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:053acdb6-bf14-7d50-595c-0a4715016f00
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC8A6:7A54A:8DDE3:C1BDB:69696286
html-safe-noncedcfd7dc1e43c83ab9399c927245103c5d8400a637f18a21ec5ee7267bbede48d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEE2OjdBNTRBOjhEREUzOkMxQkRCOjY5Njk2Mjg2IiwidmlzaXRvcl9pZCI6IjMwNDQ3MDk4NDI2ODU2MTY3NzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac58289eec84cf3e51b550249418a2d94e52453001fcd074389a8c417777b1dde2
hovercard-subject-tagpull_request:1312983334
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/103526/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ebf39f144b68fcbd5bff71351620f727d3e14481258fdba9654acc502554a5d2/python/cpython/pull/103526
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ebf39f144b68fcbd5bff71351620f727d3e14481258fdba9654acc502554a5d2/python/cpython/pull/103526
og:image:altCheck that arguments are strings before calling os.path.join(). Also improve performance of PurePath(PurePath(...)) while we're in the area: we now use the unnormalized string path of path argu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
None48487c1ad776a7975b7132d95f4240ff3ae37cd5b8e3cb597102a4edb76738f1
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release669463fcc54773a88c1f5a44eef6b99a5504b9c7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/103526#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103526
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F103526
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
Reloadhttps://github.com/python/cpython/pull/103526
Reloadhttps://github.com/python/cpython/pull/103526
Reloadhttps://github.com/python/cpython/pull/103526
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/103526
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 pagehttps://github.com/python/cpython/pull/103526
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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/103526#issue-comment-box
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-103525-purepath-mix-str-bytes-typeerror-messagehttps://github.com/barneygale/cpython/tree/gh-103525-purepath-mix-str-bytes-typeerror-message
GH-103525: Improve exception message from pathlib.PurePath() https://github.com/python/cpython/pull/103526#top
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-103525-purepath-mix-str-bytes-typeerror-messagehttps://github.com/barneygale/cpython/tree/gh-103525-purepath-mix-str-bytes-typeerror-message
Conversation 6 https://github.com/python/cpython/pull/103526
Commits 3 https://github.com/python/cpython/pull/103526/commits
Checks 0 https://github.com/python/cpython/pull/103526/checks
Files changed https://github.com/python/cpython/pull/103526/files
Please reload this pagehttps://github.com/python/cpython/pull/103526
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Apr 13, 2023https://github.com/python/cpython/pull/103526#issue-1666952409
Please reload this pagehttps://github.com/python/cpython/pull/103526
Misleading exception message from pathlib.PurePath() when mixing str and bytes arguments #103525https://github.com/python/cpython/issues/103525
Please reload this pagehttps://github.com/python/cpython/pull/103526
https://github.com/barneygale
pythonGH-103525https://github.com/python/cpython/issues/103525
: Improve exception message fromhttps://github.com/python/cpython/pull/103526/commits/6c1131e8dff2c701414f6d776a0548781367e3cd
pathlib.PurePath()https://github.com/python/cpython/pull/103526/commits/6c1131e8dff2c701414f6d776a0548781367e3cd
6c1131ehttps://github.com/python/cpython/pull/103526/commits/6c1131e8dff2c701414f6d776a0548781367e3cd
https://github.com/barneygale
barneygalehttps://github.com/barneygale
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Apr 13, 2023https://github.com/python/cpython/pull/103526#event-9000134802
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 13, 2023 https://github.com/python/cpython/pull/103526#ref-issue-1666935185
Misleading exception message from pathlib.PurePath() when mixing str and bytes arguments #103525 https://github.com/python/cpython/issues/103525
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 13, 2023https://github.com/python/cpython/pull/103526#event-9000135689
https://github.com/terryjreedy
terryjreedyhttps://github.com/terryjreedy
Apr 13, 2023 https://github.com/python/cpython/pull/103526#pullrequestreview-1384063518
View reviewed changes https://github.com/python/cpython/pull/103526/files/6c1131e8dff2c701414f6d776a0548781367e3cd
Lib/pathlib.pyhttps://github.com/python/cpython/pull/103526/files/6c1131e8dff2c701414f6d776a0548781367e3cd#diff-fa525485738fc33d05b06c159172ff1f319c26e88d8c6bb39f7dbaae4dc4105c
Please reload this pagehttps://github.com/python/cpython/pull/103526
barneygalehttps://github.com/barneygale
April 13, 2023 20:16https://github.com/python/cpython/pull/103526#commits-pushed-d24465e
https://github.com/barneygale
https://github.com/terryjreedy
Update Lib/pathlib.pyhttps://github.com/python/cpython/pull/103526/commits/d24465e5af405aee956f7177ea1211ba3c27ca59
d24465ehttps://github.com/python/cpython/pull/103526/commits/d24465e5af405aee956f7177ea1211ba3c27ca59
https://github.com/barneygale
Merge branch 'main' intohttps://github.com/python/cpython/pull/103526/commits/6d2697cfd49737da5a9ac1ceb251964a75f8e379
pythongh-103525https://github.com/python/cpython/issues/103525
-purepath-mix-str-bytes-typee…https://github.com/python/cpython/pull/103526/commits/6d2697cfd49737da5a9ac1ceb251964a75f8e379
6d2697chttps://github.com/python/cpython/pull/103526/commits/6d2697cfd49737da5a9ac1ceb251964a75f8e379
https://github.com/barneygale
barneygalehttps://github.com/barneygale
May 1, 2023https://github.com/python/cpython/pull/103526#issuecomment-1529740239
@terryjreedyhttps://github.com/terryjreedy
Please reload this pagehttps://github.com/python/cpython/pull/103526
https://github.com/terryjreedy
terryjreedyhttps://github.com/terryjreedy
May 1, 2023https://github.com/python/cpython/pull/103526#issuecomment-1530187884
Please reload this pagehttps://github.com/python/cpython/pull/103526
https://github.com/barneygale
barneygalehttps://github.com/barneygale
8611e7bhttps://github.com/python/cpython/commit/8611e7bf5ceace998fefcbf26ab1c5d5bc8a0e2a
May 2, 2023https://github.com/python/cpython/pull/103526#event-9148469204
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 2, 2023https://github.com/python/cpython/pull/103526#event-9148469790
carljmhttps://github.com/carljm
May 2, 2023 https://github.com/python/cpython/pull/103526#ref-commit-0727d6f
https://github.com/carljm
Merge branch 'main' into inlinecomp2https://github.com/carljm/cpython/commit/0727d6f2e3650fdd190cd9111c7fea83dd936277
0727d6fhttps://github.com/carljm/cpython/commit/0727d6f2e3650fdd190cd9111c7fea83dd936277
pythongh-103822https://github.com/python/cpython/issues/103822
pythonGH-103827https://github.com/python/cpython/pull/103827
pythongh-65022https://github.com/python/cpython/issues/65022
python#103892https://github.com/python/cpython/pull/103892
pythonGH-103525https://github.com/python/cpython/issues/103525
pythonGH-103526https://github.com/python/cpython/pull/103526
pythongh-84436https://github.com/python/cpython/issues/84436
pythongh-103962https://github.com/python/cpython/pull/103962
pythongh-103743https://github.com/python/cpython/issues/103743
pythonGH-103744https://github.com/python/cpython/pull/103744
pythongh-102997https://github.com/python/cpython/issues/102997
python#102999https://github.com/python/cpython/pull/102999
pythonGH-103484https://github.com/python/cpython/issues/103484
python#104001https://github.com/python/cpython/pull/104001
python#104081https://github.com/python/cpython/pull/104081
pythongh-102997https://github.com/python/cpython/issues/102997
pythonGH-102998https://github.com/python/cpython/pull/102998
pythonGH-103472https://github.com/python/cpython/issues/103472
python#103473https://github.com/python/cpython/pull/103473
pythongh-88496https://github.com/python/cpython/issues/88496
python#104075https://github.com/python/cpython/pull/104075
pythongh-94673https://github.com/python/cpython/issues/94673
pythongh-104074https://github.com/python/cpython/pull/104074
pythongh-94673https://github.com/python/cpython/issues/94673
pythongh-104072https://github.com/python/cpython/pull/104072
pythongh-104016https://github.com/python/cpython/issues/104016
python#104071https://github.com/python/cpython/pull/104071
carljmhttps://github.com/carljm
May 2, 2023 https://github.com/python/cpython/pull/103526#ref-commit-b9c39e3
https://github.com/carljm
Merge branch 'main' into cached_property_docshttps://github.com/carljm/cpython/commit/b9c39e36dd0e792c860440174814ae546dfa62b1
b9c39e3https://github.com/carljm/cpython/commit/b9c39e36dd0e792c860440174814ae546dfa62b1
pythonGH-104102https://github.com/python/cpython/issues/104102
pythonGH-104103https://github.com/python/cpython/pull/104103
pythonGH-104104https://github.com/python/cpython/issues/104104
pythonGH-104105https://github.com/python/cpython/pull/104105
pythongh-103822https://github.com/python/cpython/issues/103822
pythonGH-103827https://github.com/python/cpython/pull/103827
pythongh-65022https://github.com/python/cpython/issues/65022
python#103892https://github.com/python/cpython/pull/103892
pythonGH-103525https://github.com/python/cpython/issues/103525
pythonGH-103526https://github.com/python/cpython/pull/103526
pythongh-84436https://github.com/python/cpython/issues/84436
pythongh-103962https://github.com/python/cpython/pull/103962
pythongh-103743https://github.com/python/cpython/issues/103743
pythonGH-103744https://github.com/python/cpython/pull/103744
pythongh-102997https://github.com/python/cpython/issues/102997
python#102999https://github.com/python/cpython/pull/102999
pythonGH-103484https://github.com/python/cpython/issues/103484
python#104001https://github.com/python/cpython/pull/104001
python#104081https://github.com/python/cpython/pull/104081
pythongh-102997https://github.com/python/cpython/issues/102997
pythonGH-102998https://github.com/python/cpython/pull/102998
pythonGH-103472https://github.com/python/cpython/issues/103472
python#103473https://github.com/python/cpython/pull/103473
pythongh-88496https://github.com/python/cpython/issues/88496
python#104075https://github.com/python/cpython/pull/104075
pythongh-94673https://github.com/python/cpython/issues/94673
pythongh-104074https://github.com/python/cpython/pull/104074
pythongh-94673https://github.com/python/cpython/issues/94673
pythongh-104072https://github.com/python/cpython/pull/104072
pythongh-104016https://github.com/python/cpython/issues/104016
python#104071https://github.com/python/cpython/pull/104071
pythongh-104057https://github.com/python/cpython/issues/104057
python#104064https://github.com/python/cpython/pull/104064
pythongh-87092https://github.com/python/cpython/issues/87092
python#103988https://github.com/python/cpython/pull/103988
pythongh-97696https://github.com/python/cpython/issues/97696
python#102853https://github.com/python/cpython/pull/102853
pythongh-84436https://github.com/python/cpython/issues/84436
pythongh-104054https://github.com/python/cpython/pull/104054
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103526
https://github.com/akulakov
akulakov https://github.com/akulakov
https://github.com/python/cpython/pull/103526/files/6c1131e8dff2c701414f6d776a0548781367e3cd
https://github.com/terryjreedy
terryjreedy https://github.com/terryjreedy
https://github.com/python/cpython/pull/103526/files/6c1131e8dff2c701414f6d776a0548781367e3cd
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Please reload this pagehttps://github.com/python/cpython/pull/103526
https://github.com/barneygale
https://github.com/terryjreedy
https://github.com/akulakov
https://github.com/bedevere-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.