René's URL Explorer Experiment


Title: bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT by peanutlord · Pull Request #20088 · python/cpython · GitHub

Open Graph Title: bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT by peanutlord · Pull Request #20088 · python/cpython

X Title: bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT by peanutlord · Pull Request #20088 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Additional note: created a new test_pathext_with_empty_str() test, but copies roughly 10loc from test_pathext(). We could also add the assertEqual with a new with block to the test_pathext. https:...

X Description: Additional note: created a new test_pathext_with_empty_str() test, but copies roughly 10loc from test_pathext(). We could also add the assertEqual with a new with block to the test_pathext. https:...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:3b44099a-843f-c03b-3c70-fe503c5c7d4c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD9B6:317448:5D214D:812968:69694DB2
html-safe-nonce56d58a23b4c4e7d03f0066cf0f7211e574141d1983fb26d492823ffbd29cd970
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUI2OjMxNzQ0ODo1RDIxNEQ6ODEyOTY4OjY5Njk0REIyIiwidmlzaXRvcl9pZCI6IjQ5OTkzMjE5MTExNzQ5NzQ4OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac591b51add13d6d2631513ce6187eb539cca4ae27a6b6994f7221d890022b1d26
hovercard-subject-tagpull_request:418090449
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/20088/commits
twitter:imagehttps://opengraph.githubassets.com/b0531c3747c561f5629be6f4b6b6c34acac45ca480dd69b39af9760f43b9e91c/python/cpython/pull/20088
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0531c3747c561f5629be6f4b6b6c34acac45ca480dd69b39af9760f43b9e91c/python/cpython/pull/20088
og:image:altAdditional note: created a new test_pathext_with_empty_str() test, but copies roughly 10loc from test_pathext(). We could also add the assertEqual with a new with block to the test_pathext. https:...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepeanutlord
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-cache
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
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/20088/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F20088%2Fcommits
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%2F20088%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/20088/commits
Reloadhttps://github.com/python/cpython/pull/20088/commits
Reloadhttps://github.com/python/cpython/pull/20088/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/20088/commits
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/20088/commits
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
zoobahttps://github.com/zooba
python:masterhttps://github.com/python/cpython/tree/master
peanutlord:fix-shutil-which-windowshttps://github.com/peanutlord/cpython/tree/fix-shutil-which-windows
Conversationhttps://github.com/python/cpython/pull/20088
Commits15 (15)https://github.com/python/cpython/pull/20088/commits
Checkshttps://github.com/python/cpython/pull/20088/checks
Files changedhttps://github.com/python/cpython/pull/20088/files
bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXThttps://github.com/python/cpython/pull/20088/commits#top
zoobahttps://github.com/zooba
python:masterhttps://github.com/python/cpython/tree/master
peanutlord:fix-shutil-which-windowshttps://github.com/peanutlord/cpython/tree/fix-shutil-which-windows
shutil.which will not return None anymore for empty str in PATHEXThttps://github.com/python/cpython/pull/20088/commits/2981e84f66e06e758a0eac2620a87ff85318722c
2981e84https://github.com/python/cpython/pull/20088/commits/2981e84f66e06e758a0eac2620a87ff85318722c
https://github.com/python/cpython/tree/2981e84f66e06e758a0eac2620a87ff85318722c
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/20088/commits/9df7b99bcf203e5cbd82e52419121887e1079860
https://github.com/apps/blurb-it
blurb-it[bot]https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D
9df7b99https://github.com/python/cpython/pull/20088/commits/9df7b99bcf203e5cbd82e52419121887e1079860
https://github.com/python/cpython/tree/9df7b99bcf203e5cbd82e52419121887e1079860
Defaulted missing PATHEX env to cmd defaultshttps://github.com/python/cpython/pull/20088/commits/6dd95748ea478555614c5028e1ed8e1b52e2f553
6dd9574https://github.com/python/cpython/pull/20088/commits/6dd95748ea478555614c5028e1ed8e1b52e2f553
https://github.com/python/cpython/tree/6dd95748ea478555614c5028e1ed8e1b52e2f553
Merge branch 'master' of github.com:python/cpython into fix-shutil-which-windowshttps://github.com/python/cpython/pull/20088/commits/65b2847b9f98969f6ec775e6950fb799b5fe6ee0
65b2847https://github.com/python/cpython/pull/20088/commits/65b2847b9f98969f6ec775e6950fb799b5fe6ee0
https://github.com/python/cpython/tree/65b2847b9f98969f6ec775e6950fb799b5fe6ee0
Merge branch 'fix-shutil-which-windows' of github.com:peanut-lord/cpython into fix-shutil-which-windowshttps://github.com/python/cpython/pull/20088/commits/49284d909252473bd5cedbeeba568b1a29c8dc4b
49284d9https://github.com/python/cpython/pull/20088/commits/49284d909252473bd5cedbeeba568b1a29c8dc4b
https://github.com/python/cpython/tree/49284d909252473bd5cedbeeba568b1a29c8dc4b
Changed os.chmod from 'S_IXUSR' to 'S_IXUSR | S_IWUSR'https://github.com/python/cpython/pull/20088/commits/9eb17bb4aef95cde503e22c3fc79830d485d92dc
9eb17bbhttps://github.com/python/cpython/pull/20088/commits/9eb17bb4aef95cde503e22c3fc79830d485d92dc
https://github.com/python/cpython/tree/9eb17bb4aef95cde503e22c3fc79830d485d92dc
Added comment to explain the _WIN_DEFAULT_PATHEXT properlyhttps://github.com/python/cpython/pull/20088/commits/e6a9c2c78e154878cf0b722a12737e8a60569772
e6a9c2chttps://github.com/python/cpython/pull/20088/commits/e6a9c2c78e154878cf0b722a12737e8a60569772
https://github.com/python/cpython/tree/e6a9c2c78e154878cf0b722a12737e8a60569772
Updated change descriptionhttps://github.com/python/cpython/pull/20088/commits/496695670b5ac2cfbfc46845f96d541991be40dd
peanutlordhttps://github.com/python/cpython/commits?author=peanutlord
zoobahttps://github.com/python/cpython/commits?author=zooba
4966956https://github.com/python/cpython/pull/20088/commits/496695670b5ac2cfbfc46845f96d541991be40dd
https://github.com/python/cpython/tree/496695670b5ac2cfbfc46845f96d541991be40dd
Adjusted list comprehension to adhere line lengthhttps://github.com/python/cpython/pull/20088/commits/cdb179e68243580064a41500b79e005840a23ec5
cdb179ehttps://github.com/python/cpython/pull/20088/commits/cdb179e68243580064a41500b79e005840a23ec5
https://github.com/python/cpython/tree/cdb179e68243580064a41500b79e005840a23ec5
Removed chown from unittesthttps://github.com/python/cpython/pull/20088/commits/01efb429a2b550fa0895f2f6b8e1ee07b501734b
01efb42https://github.com/python/cpython/pull/20088/commits/01efb429a2b550fa0895f2f6b8e1ee07b501734b
https://github.com/python/cpython/tree/01efb429a2b550fa0895f2f6b8e1ee07b501734b
Empty PATHEXT () will now also be defaulted to _WIN_DEFAULT_PATHEXThttps://github.com/python/cpython/pull/20088/commits/fc87309eae7b72ba19341f5b7b8d08a8546f21a1
fc87309https://github.com/python/cpython/pull/20088/commits/fc87309eae7b72ba19341f5b7b8d08a8546f21a1
https://github.com/python/cpython/tree/fc87309eae7b72ba19341f5b7b8d08a8546f21a1
When no extension is found, we return a list with the commandhttps://github.com/python/cpython/pull/20088/commits/6af00e791c256045d8d31a93acaf83079b52e124
6af00e7https://github.com/python/cpython/pull/20088/commits/6af00e791c256045d8d31a93acaf83079b52e124
https://github.com/python/cpython/tree/6af00e791c256045d8d31a93acaf83079b52e124
Revert "When no extension is found, we return a list with the command"https://github.com/python/cpython/pull/20088/commits/ee618eb819d1c984cc79b1fa1a1a8a05a26bda79
ee618ebhttps://github.com/python/cpython/pull/20088/commits/ee618eb819d1c984cc79b1fa1a1a8a05a26bda79
https://github.com/python/cpython/tree/ee618eb819d1c984cc79b1fa1a1a8a05a26bda79
Merge branch 'master' of github.com:python/cpython into fix-shutil-which-windowshttps://github.com/python/cpython/pull/20088/commits/77de5b86a9cb05c4b773ed308eef0bce7118a876
77de5b8https://github.com/python/cpython/pull/20088/commits/77de5b86a9cb05c4b773ed308eef0bce7118a876
https://github.com/python/cpython/tree/77de5b86a9cb05c4b773ed308eef0bce7118a876
Switched to from support to os_helper in unittesthttps://github.com/python/cpython/pull/20088/commits/6c66dfc024d080c7ba3d2482b1652382df232f9e
6c66dfchttps://github.com/python/cpython/pull/20088/commits/6c66dfc024d080c7ba3d2482b1652382df232f9e
https://github.com/python/cpython/tree/6c66dfc024d080c7ba3d2482b1652382df232f9e
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.