René's URL Explorer Experiment


Title: gh-154200: Use sysconfig.get_platform() in test_importlib.test_windows by SynaptSea · Pull Request #154210 · python/cpython · GitHub

Open Graph Title: gh-154200: Use sysconfig.get_platform() in test_importlib.test_windows by SynaptSea · Pull Request #154210 · python/cpython

X Title: gh-154200: Use sysconfig.get_platform() in test_importlib.test_windows by SynaptSea · Pull Request #154210 · python/cpython

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

Open Graph Description: Fixes #154200 test_tagged_suffix computes its expected extension suffix with a vendored "Port of distutils.util.get_platform()" that sniffs sys.version.lower() for 'amd64'. Python...

X Description: Fixes #154200 test_tagged_suffix computes its expected extension suffix with a vendored "Port of distutils.util.get_platform()" that sniffs sys.version.lower() for 'amd64&...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:0e4acd8d-de80-8c4c-389a-1d1dcabccd1c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCB6A:2D2F2F:3AE2D57:4B1B9C3:6B01F3DF
html-safe-nonce5cd39851c7d0e53a00d6239ada337a4275a50c282f602b0b81406e56834aec02
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjZBOjJEMkYyRjozQUUyRDU3OjRCMUI5QzM6NkIwMUYzREYiLCJ2aXNpdG9yX2lkIjoiNTYxOTc5Mjc1NTMwMDYyNzQyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac39b02e6a236b63a964a7114f4cf15aba04764bae7178118acaa8b3ffac956637
hovercard-subject-tagpull_request:4087719286
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/154210/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/931a1fa0f8da4087c3804799e90ea7bb67eda1343bf099e28a27c4a2b429ddf6/python/cpython/pull/154210
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/931a1fa0f8da4087c3804799e90ea7bb67eda1343bf099e28a27c4a2b429ddf6/python/cpython/pull/154210
og:image:altFixes #154200 test_tagged_suffix computes its expected extension suffix with a vendored "Port of distutils.util.get_platform()" that sniffs sys.version.lower() for 'amd64'. Python...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSynaptSea
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/154210#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F154210
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F154210
Sign uphttps://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/154210
Reloadhttps://github.com/python/cpython/pull/154210
Reloadhttps://github.com/python/cpython/pull/154210
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
chris-eiblhttps://github.com/chris-eibl
python:mainhttps://github.com/python/cpython/tree/main
SynaptSea:fix-test-windows-platformhttps://github.com/SynaptSea/cpython/tree/fix-test-windows-platform
Conversationhttps://github.com/python/cpython/pull/154210
Commits2 (2)https://github.com/python/cpython/pull/154210/commits
Checkshttps://github.com/python/cpython/pull/154210/checks
Files changedhttps://github.com/python/cpython/pull/154210/files
gh-154200: Use sysconfig.get_platform() in test_importlib.test_windowshttps://github.com/python/cpython/pull/154210#top
chris-eiblhttps://github.com/chris-eibl
python:mainhttps://github.com/python/cpython/tree/main
SynaptSea:fix-test-windows-platformhttps://github.com/SynaptSea/cpython/tree/fix-test-windows-platform
https://github.com/SynaptSea
SynaptSeahttps://github.com/SynaptSea
Jul 20, 2026https://github.com/python/cpython/pull/154210#issue-4925068543
Please reload this pagehttps://github.com/python/cpython/pull/154210
#154200https://github.com/python/cpython/issues/154200
gh-145410https://github.com/python/cpython/issues/145410
test_importlib.test_windows: vendored get_platform() misdetects clang-cl builds as win32, failing test_tagged_suffix #154200https://github.com/python/cpython/issues/154200
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/SynaptSea
pythongh-154200https://github.com/python/cpython/issues/154200
: Use sysconfig.get_platform() in test_importlib.test_…https://github.com/python/cpython/pull/154210/commits/d63344ef8dffd59382eb98727fe0aa0d572534af
d63344ehttps://github.com/python/cpython/pull/154210/commits/d63344ef8dffd59382eb98727fe0aa0d572534af
pythongh-145410https://github.com/python/cpython/issues/145410
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 20, 2026 01:17https://github.com/python/cpython/pull/154210#event-28190648977
https://github.com/SynaptSea
SynaptSeahttps://github.com/SynaptSea
FFY00https://github.com/FFY00
brettcannonhttps://github.com/brettcannon
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
ncoghlanhttps://github.com/ncoghlan
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/1f9d20bbd4fed601e7caf76a12e52d35c8ae2b14/.github/CODEOWNERS#L264
July 20, 2026 01:17https://github.com/python/cpython/pull/154210#event-28190648986
started reviewinghttps://github.com/python/cpython/sessions/22b7e4e4-238f-44b2-bf8e-b0134842868e
SynaptSeahttps://github.com/SynaptSea
July 20, 2026 01:18https://github.com/python/cpython/pull/154210#event-28190653574
View session https://github.com/python/cpython/sessions/22b7e4e4-238f-44b2-bf8e-b0134842868e
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 20, 2026 https://github.com/python/cpython/pull/154210#pullrequestreview-4731776854
View reviewed changes https://github.com/python/cpython/pull/154210/files/d63344ef8dffd59382eb98727fe0aa0d572534af
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/python/cpython/pull/154210#pullrequestreview-4731776854
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Add Copilot custom instructionshttps://github.com/python/cpython/new/main?filename=.github/instructions/*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
July 20, 2026 10:04https://github.com/python/cpython/pull/154210#event-28205734019
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Jul 20, 2026https://github.com/python/cpython/pull/154210#event-28205796955
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jul 20, 2026https://github.com/python/cpython/pull/154210#issuecomment-5021046687
@chris-eiblhttps://github.com/chris-eibl
d63344ehttps://github.com/python/cpython/commit/d63344ef8dffd59382eb98727fe0aa0d572534af
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F154210%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F154210%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Jul 20, 2026https://github.com/python/cpython/pull/154210#event-28205798819
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jul 20, 2026https://github.com/python/cpython/pull/154210#event-28227343670
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Jul 21, 2026https://github.com/python/cpython/pull/154210#issuecomment-5032955803
#145410 (comment)https://github.com/python/cpython/issues/145410#issuecomment-3983345569
#154199https://github.com/python/cpython/issues/154199
@zwarehttps://github.com/zware
@encukouhttps://github.com/encukou
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Jul 21, 2026https://github.com/python/cpython/pull/154210#issuecomment-5035687051
@zwarehttps://github.com/zware
python/buildmaster-config#764https://github.com/python/buildmaster-config/pull/764
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
Merge branch 'main' into fix-test-windows-platformhttps://github.com/python/cpython/pull/154210/commits/0cb4a36d2e82121b97576a4650219c5c940abe4f
0cb4a36https://github.com/python/cpython/pull/154210/commits/0cb4a36d2e82121b97576a4650219c5c940abe4f
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Jul 21, 2026https://github.com/python/cpython/pull/154210#issuecomment-5035695886
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 21, 2026 https://github.com/python/cpython/pull/154210#ref-issue-4924346138
test_importlib.test_windows: vendored get_platform() misdetects clang-cl builds as win32, failing test_tagged_suffix #154200 https://github.com/python/cpython/issues/154200
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Jul 21, 2026https://github.com/python/cpython/pull/154210#issuecomment-5035700753
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Jul 21, 2026https://github.com/python/cpython/pull/154210#issuecomment-5035723332
@SynaptSeahttps://github.com/SynaptSea
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/encukou
encukouhttps://github.com/encukou
Jul 22, 2026https://github.com/python/cpython/pull/154210#issuecomment-5044281017
@encukouhttps://github.com/encukou
@zwarehttps://github.com/zware
the projecthttps://github.com/orgs/python/projects/27/views/10
PEP-11https://peps.python.org/11
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Jul 22, 2026https://github.com/python/cpython/pull/154210#issuecomment-5048627045
@zoobahttps://github.com/zooba
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
OS-windows https://github.com/python/cpython/issues?q=state%3Aopen%20label%3AOS-windows
OS-unsupported https://github.com/python/cpython/issues?q=state%3Aopen%20label%3AOS-unsupported
Jul 22, 2026https://github.com/python/cpython/pull/154210#event-28336992118
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Unsupported platformshttps://github.com/orgs/python/projects/27
Jul 22, 2026https://github.com/python/cpython/pull/154210#event-28336995505
https://github.com/zooba
zoobahttps://github.com/zooba
Jul 22, 2026https://github.com/python/cpython/pull/154210#issuecomment-5048814662
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Aug 29, 2026https://github.com/python/cpython/pull/154210#issuecomment-5461506364
@SynaptSeahttps://github.com/SynaptSea
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/SynaptSea
SynaptSeahttps://github.com/SynaptSea
Aug 29, 2026https://github.com/python/cpython/pull/154210#issuecomment-5463063180
@SynaptSeahttps://github.com/SynaptSea
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Aug 29, 2026 https://github.com/python/cpython/pull/154210#pullrequestreview-5058443105
View reviewed changes https://github.com/python/cpython/pull/154210/files/0cb4a36d2e82121b97576a4650219c5c940abe4f
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Aug 29, 2026https://github.com/python/cpython/pull/154210#event-30213493143
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Aug 29, 2026https://github.com/python/cpython/pull/154210#issuecomment-5463411713
@SynaptSeahttps://github.com/SynaptSea
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
5cb7c39https://github.com/python/cpython/commit/5cb7c39e6378d6cfd2bca140aa1eebf72cc7ffd3
Aug 29, 2026https://github.com/python/cpython/pull/154210#event-30214494509
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Unsupported platformshttps://github.com/orgs/python/projects/27
Aug 29, 2026https://github.com/python/cpython/pull/154210#event-30214495983
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Aug 29, 2026https://github.com/python/cpython/pull/154210#event-30214495609
clin1234https://github.com/clin1234
Sep 12, 2026 https://github.com/python/cpython/pull/154210#ref-commit-aa9cbd2
https://github.com/SynaptSea
https://github.com/clin1234
pythongh-154200https://github.com/python/cpython/issues/154200
: Use sysconfig.get_platform() in test_importlib.test_…https://github.com/clin1234/cpython/commit/aa9cbd2518bc9c280f982a94bb62c66c6e917288
aa9cbd2https://github.com/clin1234/cpython/commit/aa9cbd2518bc9c280f982a94bb62c66c6e917288
python#154210https://github.com/python/cpython/pull/154210
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Sep 12, 2026 https://github.com/python/cpython/pull/154210#ref-issue-5434748871
Fix clang-cl version in sys.version on Windows #157368 https://github.com/python/cpython/issues/157368
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Oct 8, 2026 https://github.com/python/cpython/pull/154210#ref-pullrequest-5738628331
gh-158948: Generate Modules/getbuildinfo.h #158951 https://github.com/python/cpython/pull/158951
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F154210
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/python/cpython/pull/154210/files/d63344ef8dffd59382eb98727fe0aa0d572534af
https://github.com/chris-eibl
chris-eibl https://github.com/chris-eibl
https://github.com/python/cpython/pull/154210/files/0cb4a36d2e82121b97576a4650219c5c940abe4f
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ncoghlan
ncoghlan https://github.com/ncoghlan
https://github.com/warsaw
warsaw https://github.com/warsaw
https://github.com/FFY00
FFY00 https://github.com/FFY00
Please reload this pagehttps://github.com/python/cpython/pull/154210
OS-unsupported https://github.com/python/cpython/issues?q=state%3Aopen%20label%3AOS-unsupported
OS-windows https://github.com/python/cpython/issues?q=state%3Aopen%20label%3AOS-windows
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
tests https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atests
Unsupported platforms https://github.com/orgs/python/projects/27
test_importlib.test_windows: vendored get_platform() misdetects clang-cl builds as win32, failing test_tagged_suffix https://github.com/python/cpython/issues/154200
Please reload this pagehttps://github.com/python/cpython/pull/154210
https://github.com/SynaptSea
https://github.com/bedevere-bot
https://github.com/chris-eibl
https://github.com/encukou
https://github.com/zooba
https://github.com/apps/copilot-pull-request-reviewer
https://github.com/brettcannon
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.