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: 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://bugs.python.org/issue40592

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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a60e433e-1904-5393-5201-31a6ab99bac7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD408:BE21E:2726597:3674F70:69694D97
html-safe-nonce98fa039180e9d42bb61193e31cc5f7d7fa5eac12d2ba95e3f210aa8ed9bc60fb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDA4OkJFMjFFOjI3MjY1OTc6MzY3NEY3MDo2OTY5NEQ5NyIsInZpc2l0b3JfaWQiOiIxOTUwMjM3ODM1MDQ1NDU3MzAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac640b3cf2aaf86947a76899d5702b7d279a7a731544ef08ec00550b64e00dc382
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/20088/files
twitter:imagehttps://avatars.githubusercontent.com/u/1525713?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1525713?s=400&v=4
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:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F20088%2Ffiles
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%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
Reloadhttps://github.com/python/cpython/pull/20088/files
Reloadhttps://github.com/python/cpython/pull/20088/files
Reloadhttps://github.com/python/cpython/pull/20088/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/20088/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 pagehttps://github.com/python/cpython/pull/20088/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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
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
Conversation 30 https://github.com/python/cpython/pull/20088
Commits 15 https://github.com/python/cpython/pull/20088/commits
Checks 0 https://github.com/python/cpython/pull/20088/checks
Files changed https://github.com/python/cpython/pull/20088/files
Please reload this pagehttps://github.com/python/cpython/pull/20088/files
bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT https://github.com/python/cpython/pull/20088/files#top
Show all changes 15 commits https://github.com/python/cpython/pull/20088/files
2981e84 shutil.which will not return None anymore for empty str in PATHEXT May 14, 2020 https://github.com/python/cpython/pull/20088/commits/2981e84f66e06e758a0eac2620a87ff85318722c
9df7b99 📜🤖 Added by blurb_it. blurb-it[bot] May 14, 2020 https://github.com/python/cpython/pull/20088/commits/9df7b99bcf203e5cbd82e52419121887e1079860
6dd9574 Defaulted missing PATHEX env to cmd defaults May 14, 2020 https://github.com/python/cpython/pull/20088/commits/6dd95748ea478555614c5028e1ed8e1b52e2f553
65b2847 Merge branch 'master' of github.com:python/cpython into fix-shutil-wh… May 14, 2020 https://github.com/python/cpython/pull/20088/commits/65b2847b9f98969f6ec775e6950fb799b5fe6ee0
49284d9 Merge branch 'fix-shutil-which-windows' of github.com:peanut-lord/cpy… May 14, 2020 https://github.com/python/cpython/pull/20088/commits/49284d909252473bd5cedbeeba568b1a29c8dc4b
9eb17bb Changed os.chmod from 'S_IXUSR' to 'S_IXUSR | S_IWUSR' May 15, 2020 https://github.com/python/cpython/pull/20088/commits/9eb17bb4aef95cde503e22c3fc79830d485d92dc
e6a9c2c Added comment to explain the _WIN_DEFAULT_PATHEXT properly May 15, 2020 https://github.com/python/cpython/pull/20088/commits/e6a9c2c78e154878cf0b722a12737e8a60569772
4966956 Updated change description peanutlord May 19, 2020 https://github.com/python/cpython/pull/20088/commits/496695670b5ac2cfbfc46845f96d541991be40dd
cdb179e Adjusted list comprehension to adhere line length May 19, 2020 https://github.com/python/cpython/pull/20088/commits/cdb179e68243580064a41500b79e005840a23ec5
01efb42 Removed chown from unittest May 19, 2020 https://github.com/python/cpython/pull/20088/commits/01efb429a2b550fa0895f2f6b8e1ee07b501734b
fc87309 Empty PATHEXT () will now also be defaulted to _WIN_DEFAULT_PATHEXT Oct 21, 2020 https://github.com/python/cpython/pull/20088/commits/fc87309eae7b72ba19341f5b7b8d08a8546f21a1
6af00e7 When no extension is found, we return a list with the command Oct 21, 2020 https://github.com/python/cpython/pull/20088/commits/6af00e791c256045d8d31a93acaf83079b52e124
ee618eb Revert "When no extension is found, we return a list with the command" Oct 21, 2020 https://github.com/python/cpython/pull/20088/commits/ee618eb819d1c984cc79b1fa1a1a8a05a26bda79
77de5b8 Merge branch 'master' of github.com:python/cpython into fix-shutil-wh… Oct 22, 2020 https://github.com/python/cpython/pull/20088/commits/77de5b86a9cb05c4b773ed308eef0bce7118a876
6c66dfc Switched to from support to os_helper in unittest Oct 22, 2020 https://github.com/python/cpython/pull/20088/commits/6c66dfc024d080c7ba3d2482b1652382df232f9e
Clear filters https://github.com/python/cpython/pull/20088/files
Please reload this pagehttps://github.com/python/cpython/pull/20088/files
Please reload this pagehttps://github.com/python/cpython/pull/20088/files
shutil.py https://github.com/python/cpython/pull/20088/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
test_shutil.py https://github.com/python/cpython/pull/20088/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7
2020-05-14-16-01-34.bpo-40592.Cmk855.rst https://github.com/python/cpython/pull/20088/files#diff-84b2b840db8834271fcf8313ccddd3fa9a9bd17f19aadde7835ac7f1504605b5
Lib/shutil.pyhttps://github.com/python/cpython/pull/20088/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
View file https://github.com/peanutlord/cpython/blob/6c66dfc024d080c7ba3d2482b1652382df232f9e/Lib/shutil.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20088/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20088/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
Please reload this pagehttps://github.com/python/cpython/pull/20088/files
https://github.com/python/cpython/pull/20088/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
https://github.com/python/cpython/pull/20088/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
https://github.com/python/cpython/pull/20088/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b
Lib/test/test_shutil.pyhttps://github.com/python/cpython/pull/20088/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7
View file https://github.com/peanutlord/cpython/blob/6c66dfc024d080c7ba3d2482b1652382df232f9e/Lib/test/test_shutil.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20088/{{ revealButtonHref }}
https://github.com/python/cpython/pull/20088/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7
Please reload this pagehttps://github.com/python/cpython/pull/20088/files
https://github.com/python/cpython/pull/20088/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7
Misc/NEWS.d/next/Library/2020-05-14-16-01-34.bpo-40592.Cmk855.rsthttps://github.com/python/cpython/pull/20088/files#diff-84b2b840db8834271fcf8313ccddd3fa9a9bd17f19aadde7835ac7f1504605b5
View file https://github.com/peanutlord/cpython/blob/6c66dfc024d080c7ba3d2482b1652382df232f9e/Misc/NEWS.d/next/Library/2020-05-14-16-01-34.bpo-40592.Cmk855.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/20088/{{ revealButtonHref }}
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.