René's URL Explorer Experiment


Title: gh-154387: Fix `structseq_repr` mislabeling of unnamed `PyStructSequence` fields by pranavchoudhary-tech · Pull Request #154434 · python/cpython · GitHub

Open Graph Title: gh-154387: Fix `structseq_repr` mislabeling of unnamed `PyStructSequence` fields by pranavchoudhary-tech · Pull Request #154434 · python/cpython

X Title: gh-154387: Fix `structseq_repr` mislabeling of unnamed `PyStructSequence` fields by pranavchoudhary-tech · Pull Request #154434 · python/cpython

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

Open Graph Description: Fixes #154387. structseq_repr incorrectly assumed that all fields printed were sequentially named fields from tp_members. When an unnamed field was encountered (like the timestamp float variants in...

X Description: Fixes #154387. structseq_repr incorrectly assumed that all fields printed were sequentially named fields from tp_members. When an unnamed field was encountered (like the timestamp float variants in...

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

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:16c4e3d2-8610-5284-a315-3976edbd6484
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC7B2:380435:D16D3C:1080978:6B022F26
html-safe-nonce8a7503024945c37aabae33f6c49ca8700ed4444c57610d86241118e7e727b6ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0IyOjM4MDQzNTpEMTZEM0M6MTA4MDk3ODo2QjAyMkYyNiIsInZpc2l0b3JfaWQiOiI2MzUwMTE0NjgwODQ5MTgyNTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac006f649f627854a7e1a56d41bd7bc6a4d6b5d66df95e20614837c9fac181a357
hovercard-subject-tagpull_request:4106028921
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/154434/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e3417c766c5a4203df01f048dbe075349e67aac40664db569d275ccd6aa91720/python/cpython/pull/154434
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e3417c766c5a4203df01f048dbe075349e67aac40664db569d275ccd6aa91720/python/cpython/pull/154434
og:image:altFixes #154387. structseq_repr incorrectly assumed that all fields printed were sequentially named fields from tp_members. When an unnamed field was encountered (like the timestamp float variants in...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepranavchoudhary-tech
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-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/154434#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F154434
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%2F154434
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/154434
Reloadhttps://github.com/python/cpython/pull/154434
Reloadhttps://github.com/python/cpython/pull/154434
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
pranavchoudhary-techhttps://github.com/pranavchoudhary-tech
python:mainhttps://github.com/python/cpython/tree/main
pranavchoudhary-tech:fix-structseq-reprhttps://github.com/pranavchoudhary-tech/cpython/tree/fix-structseq-repr
Conversationhttps://github.com/python/cpython/pull/154434
Commits9 (9)https://github.com/python/cpython/pull/154434/commits
Checkshttps://github.com/python/cpython/pull/154434/checks
Files changedhttps://github.com/python/cpython/pull/154434/files
gh-154387: Fix structseq_repr mislabeling of unnamed PyStructSequence fieldshttps://github.com/python/cpython/pull/154434#top
pranavchoudhary-techhttps://github.com/pranavchoudhary-tech
python:mainhttps://github.com/python/cpython/tree/main
pranavchoudhary-tech:fix-structseq-reprhttps://github.com/pranavchoudhary-tech/cpython/tree/fix-structseq-repr
https://github.com/pranavchoudhary-tech
pranavchoudhary-techhttps://github.com/pranavchoudhary-tech
Jul 22, 2026https://github.com/python/cpython/pull/154434#issue-4946485334
Please reload this pagehttps://github.com/python/cpython/pull/154434
#154387https://github.com/python/cpython/issues/154387
structseq_repr mislabels unnamed PyStructSequence fields (e.g. os.stat_result slots 7–9) #154387https://github.com/python/cpython/issues/154387
Please reload this pagehttps://github.com/python/cpython/pull/154434
pranavchoudhary-techhttps://github.com/pranavchoudhary-tech
July 9, 2026 18:29https://github.com/python/cpython/pull/154434#commits-pushed-6f010d0
https://github.com/pranavchoudhary-tech
docs: clarify custom build output directory in PCbuild/readme.txthttps://github.com/python/cpython/pull/154434/commits/6f010d0ecd0d3d11cd5425c7cffc02d3b7220e29
6f010d0https://github.com/python/cpython/pull/154434/commits/6f010d0ecd0d3d11cd5425c7cffc02d3b7220e29
https://github.com/pranavchoudhary-tech
docs: add news entry for 118860https://github.com/python/cpython/pull/154434/commits/757f9d39fa0df08dfd15707fc815d0ede316c311
757f9d3https://github.com/python/cpython/pull/154434/commits/757f9d39fa0df08dfd15707fc815d0ede316c311
https://github.com/pranavchoudhary-tech
Apply reviewer feedbackhttps://github.com/python/cpython/pull/154434/commits/d2c81d9d2c77ec700d1784f971a375eeeab90f64
d2c81d9https://github.com/python/cpython/pull/154434/commits/d2c81d9d2c77ec700d1784f971a375eeeab90f64
https://github.com/pranavchoudhary-tech
Apply text wrapping and environment variable suggestionhttps://github.com/python/cpython/pull/154434/commits/1f573ad8d61c383a5483e88c6c665e424c334bff
1f573adhttps://github.com/python/cpython/pull/154434/commits/1f573ad8d61c383a5483e88c6c665e424c334bff
https://github.com/pranavchoudhary-tech
Apply review feedback from zoobahttps://github.com/python/cpython/pull/154434/commits/c5874241280ee0a78d0ba271c17d363cea79c5d1
c587424https://github.com/python/cpython/pull/154434/commits/c5874241280ee0a78d0ba271c17d363cea79c5d1
https://github.com/pranavchoudhary-tech
Trigger CI to bypass flaky test_tkinter failurehttps://github.com/python/cpython/pull/154434/commits/7eb8c27431f6e1617c5f28714b6ffe514c88c8c6
7eb8c27https://github.com/python/cpython/pull/154434/commits/7eb8c27431f6e1617c5f28714b6ffe514c88c8c6
https://github.com/pranavchoudhary-tech
Fix structseq_repr indexing to prevent unnamed fields mislabelinghttps://github.com/python/cpython/pull/154434/commits/52c00ebd9255802a04b8fcdca910b2246d2c48c0
52c00ebhttps://github.com/python/cpython/pull/154434/commits/52c00ebd9255802a04b8fcdca910b2246d2c48c0
https://github.com/pranavchoudhary-tech
pranavchoudhary-techhttps://github.com/pranavchoudhary-tech
code ownerhttps://github.com/python/cpython/blob/6f8f97fe5246837b93e6c2f3525aa9f623ecd30b/.github/CODEOWNERS#L189
July 22, 2026 07:16https://github.com/python/cpython/pull/154434#event-28311703826
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 22, 2026https://github.com/python/cpython/pull/154434#event-28311707602
https://github.com/pranavchoudhary-tech
pranavchoudhary-techhttps://github.com/pranavchoudhary-tech
Jul 22, 2026https://github.com/python/cpython/pull/154434#event-28312408681
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 22, 2026 https://github.com/python/cpython/pull/154434#ref-issue-4940987476
structseq_repr mislabels unnamed PyStructSequence fields (e.g. os.stat_result slots 7–9) #154387 https://github.com/python/cpython/issues/154387
https://github.com/pranavchoudhary-tech
Add news entry for structseq_repr bug fixhttps://github.com/python/cpython/pull/154434/commits/d94858c692dff0268123b69bf1b5f2d1b95d3c54
d94858chttps://github.com/python/cpython/pull/154434/commits/d94858c692dff0268123b69bf1b5f2d1b95d3c54
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 22, 2026 https://github.com/python/cpython/pull/154434#pullrequestreview-4752247467
View reviewed changes https://github.com/python/cpython/pull/154434/files/d94858c692dff0268123b69bf1b5f2d1b95d3c54
picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/154434
https://github.com/python/cpython/pull/154434#pullrequestreview-4752247467
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/154434
Lib/test/test_structseq.pyhttps://github.com/python/cpython/pull/154434/files/d94858c692dff0268123b69bf1b5f2d1b95d3c54#diff-4a637803c745f86a5ed3a3bb336b12697a2635ab209994b8c989b8cfae0085ef
picnixzhttps://github.com/picnixz
Jul 22, 2026https://github.com/python/cpython/pull/154434#discussion_r3628505611
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/154434
PCbuild/readme.txthttps://github.com/python/cpython/pull/154434/files/d94858c692dff0268123b69bf1b5f2d1b95d3c54#diff-e6deaad53af223df046ace0e4295072ce19c77c172783d29f023fd6912e15fc1
picnixzhttps://github.com/picnixz
Jul 22, 2026https://github.com/python/cpython/pull/154434#discussion_r3628509250
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/154434
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 22, 2026https://github.com/python/cpython/pull/154434#event-28313598008
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 22, 2026https://github.com/python/cpython/pull/154434#issuecomment-5043371470
Please reload this pagehttps://github.com/python/cpython/pull/154434
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 22, 2026 https://github.com/python/cpython/pull/154434#pullrequestreview-4752325168
View reviewed changes https://github.com/python/cpython/pull/154434/files/d94858c692dff0268123b69bf1b5f2d1b95d3c54
Lib/test/test_structseq.pyhttps://github.com/python/cpython/pull/154434/files/d94858c692dff0268123b69bf1b5f2d1b95d3c54#diff-4a637803c745f86a5ed3a3bb336b12697a2635ab209994b8c989b8cfae0085ef
picnixzhttps://github.com/picnixz
Jul 22, 2026https://github.com/python/cpython/pull/154434#discussion_r3628572644
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/154434
https://github.com/pranavchoudhary-tech
Revert unrelated change to PCbuild/readme.txthttps://github.com/python/cpython/pull/154434/commits/98f8f343fe57fc01a0d3ee991c77198fbd3c294f
98f8f34https://github.com/python/cpython/pull/154434/commits/98f8f343fe57fc01a0d3ee991c77198fbd3c294f
https://github.com/pranavchoudhary-tech
pranavchoudhary-techhttps://github.com/pranavchoudhary-tech
Jul 22, 2026https://github.com/python/cpython/pull/154434#issuecomment-5043839288
@picnixzhttps://github.com/picnixz
Please reload this pagehttps://github.com/python/cpython/pull/154434
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 22, 2026https://github.com/python/cpython/pull/154434#issuecomment-5044304134
https://devguide.python.org/getting-started/ai-tools/#guidelines-for-using-ai-toolshttps://devguide.python.org/getting-started/ai-tools/#guidelines-for-using-ai-tools
Please reload this pagehttps://github.com/python/cpython/pull/154434
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Jul 22, 2026https://github.com/python/cpython/pull/154434#event-28318200359
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%2F154434
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/154434/files/d94858c692dff0268123b69bf1b5f2d1b95d3c54
Please reload this pagehttps://github.com/python/cpython/pull/154434
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
structseq_repr mislabels unnamed PyStructSequence fields (e.g. os.stat_result slots 7–9) https://github.com/python/cpython/issues/154387
Please reload this pagehttps://github.com/python/cpython/pull/154434
https://github.com/pranavchoudhary-tech
https://github.com/picnixz
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.