René's URL Explorer Experiment


Title: Enhance Object/structseq.c to match namedtuple and tuple api · Issue #46145 · python/cpython · GitHub

Open Graph Title: Enhance Object/structseq.c to match namedtuple and tuple api · Issue #46145 · python/cpython

X Title: Enhance Object/structseq.c to match namedtuple and tuple api · Issue #46145 · python/cpython

Description: BPO 1820 Nosy @malemburg, @birkenfeld, @rhettinger, @terryjreedy, @amauryfa, @abalkin, @salty-horse, @jackdied, @ericvsmith, @giampaolo, @tiran, @benjaminp, @merwok, @ericsnowcurrently Files structseq_subclasses_tuple.diff: patch which m...

Open Graph Description: BPO 1820 Nosy @malemburg, @birkenfeld, @rhettinger, @terryjreedy, @amauryfa, @abalkin, @salty-horse, @jackdied, @ericvsmith, @giampaolo, @tiran, @benjaminp, @merwok, @ericsnowcurrently Files struct...

X Description: BPO 1820 Nosy @malemburg, @birkenfeld, @rhettinger, @terryjreedy, @amauryfa, @abalkin, @salty-horse, @jackdied, @ericvsmith, @giampaolo, @tiran, @benjaminp, @merwok, @ericsnowcurrently Files struct...

Opengraph URL: https://github.com/python/cpython/issues/46145

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enhance Object/structseq.c to match namedtuple and tuple api","articleBody":"BPO | [1820](https://bugs.python.org/issue1820)\n--- | :---\nNosy | @malemburg, @birkenfeld, @rhettinger, @terryjreedy, @amauryfa, @abalkin, @salty-horse, @jackdied, @ericvsmith, @giampaolo, @tiran, @benjaminp, @merwok, @ericsnowcurrently\nFiles | \u003cli>[structseq_subclasses_tuple.diff](https://bugs.python.org/file9159/structseq_subclasses_tuple.diff \"Uploaded as text/plain at 2008-01-14.07:03:20 by adlaiff6\"): patch which makes structseq a subclass of tuple\u003c/li>\u003cli>[structseq.diff](https://bugs.python.org/file9170/structseq.diff \"Uploaded as text/plain at 2008-01-15.01:21:34 by @rhettinger\"): Tuple subclass patch with tests.\u003c/li>\u003cli>[structseq_1.patch](https://bugs.python.org/file32525/structseq_1.patch \"Uploaded as text/plain at 2013-11-07.12:40:48 by sunfinite\"): Add _fields, _replace, _asdict and eval(repr(s))\u003c/li>\u003cli>[structseq_fields.patch](https://bugs.python.org/file35367/structseq_fields.patch \"Uploaded as text/plain at 2014-05-26.10:17:33 by sunfinite\"): Add only _fields\u003c/li>\u003cli>[structseq_repr_issue.diff](https://bugs.python.org/file35802/structseq_repr_issue.diff \"Uploaded as text/plain at 2014-06-29.21:13:16 by @skrah\"): repr() issue with unnamed fields\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = None\ncreated_at = \u003cDate 2008-01-14.04:20:27.181>\nlabels = ['extension-modules', 'easy', 'type-feature', '3.9']\ntitle = 'Enhance Object/structseq.c to match namedtuple and tuple api'\nupdated_at = \u003cDate 2020-01-15.21:54:55.660>\nuser = 'https://github.com/tiran'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2020-01-15.21:54:55.660>\nactor = 'vstinner'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Extension Modules']\ncreation = \u003cDate 2008-01-14.04:20:27.181>\ncreator = 'christian.heimes'\ndependencies = []\nfiles = ['9159', '9170', '32525', '35367', '35802']\nhgrepos = []\nissue_num = 1820\nkeywords = ['patch', 'easy']\nmessage_count = 42.0\nmessages = ['59888', '59891', '59949', '59955', '59956', '59957', '62830', '62831', '81627', '85097', '90461', '90472', '90506', '90953', '104559', '104562', '109503', '113451', '113453', '113456', '133351', '133355', '133364', '133367', '191872', '192849', '198291', '202330', '202333', '207994', '217301', '217337', '217365', '217468', '217512', '219037', '219150', '219297', '219381', '220315', '220316', '221902']\nnosy_count = 21.0\nnosy_names = ['lemburg', 'georg.brandl', 'rhettinger', 'terry.reedy', 'amaury.forgeotdarc', 'gjb1002', 'belopolsky', 'salty-horse', 'jackdied', 'eric.smith', 'giampaolo.rodola', 'christian.heimes', 'benjamin.peterson', 'adlaiff6', 'eric.araujo', 'Arfrever', 'santoso.wijaya', 'eric.snow', 'sunfinite', 'abarnert', 'Philip Dye']\npr_nums = []\npriority = 'low'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue1820'\nversions = ['Python 3.9']\n```\n\n\u003c/p>\u003c/details>\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-108648\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/tiran","@type":"Person","name":"tiran"},"datePublished":"2008-01-14T04:20:27Z","url":"https://github.com/python/cpython/issues/46145"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:018f5458-7fbc-6522-94ee-fe96323be624
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD3CA:213839:45504D0:5859856:6B022F35
html-safe-nonce7bdf261666ee03a3553084db73f44f40960edaf0e7bf4da6c2016705650fcdf4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0NBOjIxMzgzOTo0NTUwNEQwOjU4NTk4NTY6NkIwMjJGMzUiLCJ2aXNpdG9yX2lkIjoiODI5MjE5MzU1ODAyNzQ0ODExNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac46e4ab4a819c224b39c7bec261125b985e8d6111a9d316143cee45c646aaa612
hovercard-subject-tagissue:1198827356
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/46145/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3d9b1e15bbcecd7ec26a9523dfba7e2b410e47582085d4c2fb75c072c6542001/python/cpython/issues/46145
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3d9b1e15bbcecd7ec26a9523dfba7e2b410e47582085d4c2fb75c072c6542001/python/cpython/issues/46145
og:image:altBPO 1820 Nosy @malemburg, @birkenfeld, @rhettinger, @terryjreedy, @amauryfa, @abalkin, @salty-horse, @jackdied, @ericvsmith, @giampaolo, @tiran, @benjaminp, @merwok, @ericsnowcurrently Files struct...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametiran
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/46145#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F46145
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%2Fissues%2F46145
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/46145
Reloadhttps://github.com/python/cpython/issues/46145
Reloadhttps://github.com/python/cpython/issues/46145
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/46145
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/46145
Enhance Object/structseq.c to match namedtuple and tuple apihttps://github.com/python/cpython/issues/46145#top
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
extension-modulesC modules in the Modules dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/tiran
tiranhttps://github.com/tiran
on Jan 14, 2008https://github.com/python/cpython/issues/46145#issue-1198827356
1820https://bugs.python.org/issue1820
@malemburghttps://github.com/malemburg
@birkenfeldhttps://github.com/birkenfeld
@rhettingerhttps://github.com/rhettinger
@terryjreedyhttps://github.com/terryjreedy
@amauryfahttps://github.com/amauryfa
@abalkinhttps://github.com/abalkin
@salty-horsehttps://github.com/salty-horse
@jackdiedhttps://github.com/jackdied
@ericvsmithhttps://github.com/ericvsmith
@giampaolohttps://github.com/giampaolo
@tiranhttps://github.com/tiran
@benjaminphttps://github.com/benjaminp
@merwokhttps://github.com/merwok
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
structseq_subclasses_tuple.diffhttps://bugs.python.org/file9159/structseq_subclasses_tuple.diff
structseq.diffhttps://bugs.python.org/file9170/structseq.diff
structseq_1.patchhttps://bugs.python.org/file32525/structseq_1.patch
structseq_fields.patchhttps://bugs.python.org/file35367/structseq_fields.patch
structseq_repr_issue.diffhttps://bugs.python.org/file35802/structseq_repr_issue.diff
GH-46145: make PyStructSequence compatible with namedtuple #108648https://github.com/python/cpython/pull/108648
Nexthttps://github.com/python/cpython/issues/46145?timeline_page=1
https://github.com/tiran
tiranhttps://github.com/tiran
on Jan 14, 2008https://github.com/python/cpython/issues/46145#issuecomment-1093406326
tiranhttps://github.com/tiran
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
easyhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22easy%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
on Jan 14, 2008https://github.com/python/cpython/issues/46145#event-6402733526
on Jan 14, 2008https://github.com/python/cpython/issues/46145#issuecomment-1093406328
#1https://github.com/python/cpython/pull/1
rhettingerhttps://github.com/rhettinger
on Jan 15, 2008https://github.com/python/cpython/issues/46145#event-6402733531
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
on Jan 15, 2008https://github.com/python/cpython/issues/46145#issuecomment-1093406329
on Jan 15, 2008https://github.com/python/cpython/issues/46145#issuecomment-1093406331
Lib/test/regrtest.pyhttps://github.com/python/cpython/blob/main/Lib/test/regrtest.py
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
on Jan 15, 2008https://github.com/python/cpython/issues/46145#issuecomment-1093406333
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
on Jan 15, 2008https://github.com/python/cpython/issues/46145#issuecomment-1093406335
https://github.com/birkenfeld
birkenfeldhttps://github.com/birkenfeld
on Feb 23, 2008https://github.com/python/cpython/issues/46145#issuecomment-1093406337
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
on Feb 23, 2008https://github.com/python/cpython/issues/46145#issuecomment-1093406340
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
on Feb 11, 2009https://github.com/python/cpython/issues/46145#issuecomment-1093406341
bpo-2308https://bugs.python.org/issue?@action=redirect&bpo=2308
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
on Apr 1, 2009https://github.com/python/cpython/issues/46145#issuecomment-1093406342
rhettingerhttps://github.com/rhettinger
on Apr 1, 2009https://github.com/python/cpython/issues/46145#event-6402733532
on Jun 29, 2014https://github.com/python/cpython/issues/46145#event-6402733550
abalkinhttps://github.com/abalkin
3.7 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.7%20(EOL)%22
on Oct 3, 2016https://github.com/python/cpython/issues/46145#event-6402733553
rhettingerhttps://github.com/rhettinger
3.9 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.9%20(EOL)%22
3.7 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.7%20(EOL)%22
on Jan 2, 2020https://github.com/python/cpython/issues/46145#event-6402733555
ezio-melottihttps://github.com/ezio-melotti
https://github.com/python/cpython/issues/undefined
on Apr 10, 2022https://github.com/python/cpython/issues/46145#event-6402733560
https://github.com/kesmit13
kesmit13https://github.com/kesmit13
on Aug 1, 2023https://github.com/python/cpython/issues/46145#issuecomment-1660610937
merwokhttps://github.com/merwok
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
3.9 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.9%20(EOL)%22
on Aug 1, 2023https://github.com/python/cpython/issues/46145#event-9978551249
https://github.com/FFY00
FFY00https://github.com/FFY00
on Sep 1, 2023https://github.com/python/cpython/issues/46145#issuecomment-1702120041
GH-108648https://github.com/python/cpython/pull/108648
GH-108647https://github.com/python/cpython/issues/108647
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Sep 1, 2023https://github.com/python/cpython/issues/46145#issuecomment-1702601018
#108751https://github.com/python/cpython/issues/108751
hugovkhttps://github.com/hugovk
easyhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22easy%22
on Sep 8, 2023https://github.com/python/cpython/issues/46145#event-10314973145
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
on Nov 17, 2024https://github.com/python/cpython/issues/46145#issuecomment-2481045347
How to check if an object is an instance of a namedtuple?https://stackoverflow.com/questions/2166818/how-to-check-if-an-object-is-an-instance-of-a-namedtuple
https://github.com/jax-ml/jax/blob/7b9914d711593dca8725d46aa1dadb2194284519/jax/_src/tree_util.py#L1199-L1202https://github.com/jax-ml/jax/blob/7b9914d711593dca8725d46aa1dadb2194284519/jax/_src/tree_util.py#L1199-L1202
https://github.com/FFY00
FFY00https://github.com/FFY00
on Nov 17, 2024https://github.com/python/cpython/issues/46145#issuecomment-2481247539
GH-46145https://github.com/python/cpython/issues/46145
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
on Nov 17, 2024https://github.com/python/cpython/issues/46145#issuecomment-2481251218
https://github.com/FFY00
FFY00https://github.com/FFY00
on Nov 17, 2024https://github.com/python/cpython/issues/46145#issuecomment-2481396554
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/46145
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/46145
3.13only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.13%22
extension-modulesC modules in the Modules dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
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.