René's URL Explorer Experiment


Title: Update dataclasses, inspect from CPython 3.13 by youknowone · Pull Request #5377 · RustPython/RustPython · GitHub

Open Graph Title: Update dataclasses, inspect from CPython 3.13 by youknowone · Pull Request #5377 · RustPython/RustPython

X Title: Update dataclasses, inspect from CPython 3.13 by youknowone · Pull Request #5377 · RustPython/RustPython

Description: Summary by CodeRabbit Refactor Improved singleton value conversion and error reporting for invalid inputs. Expanded and unified handling of class-pattern components so pattern arguments and keyword attributes/patterns fully round-trip to/from AST representations. Standardized serialization/deserialization signatures across related AST structures for more consistent behavior. ✏️ Tip: You can customize this high-level summary in your review settings.

Open Graph Description: Summary by CodeRabbit Refactor Improved singleton value conversion and error reporting for invalid inputs. Expanded and unified handling of class-pattern components so pattern arguments and keywo...

X Description: Summary by CodeRabbit Refactor Improved singleton value conversion and error reporting for invalid inputs. Expanded and unified handling of class-pattern components so pattern arguments and keywo...

Opengraph URL: https://github.com/RustPython/RustPython/pull/5377

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1d9ce80a-ba7a-c47f-7529-4b771e3227d2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB13E:2DCAE8:221B896:2E78CB0:6B0029AE
html-safe-noncede23167787d93dd5bdbe5635a2601053bfbac01e95e79a5e8c15631b561d31be
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTNFOjJEQ0FFODoyMjFCODk2OjJFNzhDQjA6NkIwMDI5QUUiLCJ2aXNpdG9yX2lkIjoiNTcyNDkyOTc0MDc3NTYzMTI3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7f0cac63840de615b7348103705c3e5a9682fc5436b664dec242d425435c3da3
hovercard-subject-tagpull_request:1991941626
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/RustPython/RustPython/pull/5377/files
twitter:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
og:image:altSummary by CodeRabbit Refactor Improved singleton value conversion and error reporting for invalid inputs. Expanded and unified handling of class-pattern components so pattern arguments and keywo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/5377/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F5377%2Ffiles
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%2FRustPython%2FRustPython%2Fpull%2F5377%2Ffiles
Sign uphttps://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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/5377/files
Reloadhttps://github.com/RustPython/RustPython/pull/5377/files
Reloadhttps://github.com/RustPython/RustPython/pull/5377/files
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests144 (144)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:inspecthttps://github.com/youknowone/RustPython/tree/inspect
Conversation 4 https://github.com/RustPython/RustPython/pull/5377
Commits 6 https://github.com/RustPython/RustPython/pull/5377/commits
Checks 12 https://github.com/RustPython/RustPython/pull/5377/checks
Files changed https://github.com/RustPython/RustPython/pull/5377/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5377/files
Update dataclasses, inspect from CPython 3.13 https://github.com/RustPython/RustPython/pull/5377/files#top
Show all changes 6 commits https://github.com/RustPython/RustPython/pull/5377/files
be5f660 impl more ast youknowone Dec 12, 2025 https://github.com/RustPython/RustPython/pull/5377/commits/be5f660dfe4acb701adf2a4d3f5020bfe83597ee
d22956e inspect from v3.13.10 youknowone Dec 12, 2025 https://github.com/RustPython/RustPython/pull/5377/commits/d22956ebc1d06ace68bf0e429fa28a1c8b160a10
d116049 Upgrade dataclasses from CPython 3.13.10 youknowone Dec 12, 2025 https://github.com/RustPython/RustPython/pull/5377/commits/d11604995ae28c58233ff9aa664cca3c83fe58bc
152d10b hybrid dis.py from CPython 3.13.10 youknowone Dec 12, 2025 https://github.com/RustPython/RustPython/pull/5377/commits/152d10bfea2374ca15fc835c146d720b437f803a
ef6c6ad patch test_inspect youknowone Dec 12, 2025 https://github.com/RustPython/RustPython/pull/5377/commits/ef6c6ad117c93d183313e5ba461c39460f4808c8
9bbfdf5 mark expectedFailure youknowone Dec 12, 2025 https://github.com/RustPython/RustPython/pull/5377/commits/9bbfdf5067542d3b23e48f9e5019a6dc17dddaf6
Clear filters https://github.com/RustPython/RustPython/pull/5377/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5377/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5377/files
dataclasses.py https://github.com/RustPython/RustPython/pull/5377/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
dis.py https://github.com/RustPython/RustPython/pull/5377/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8
inspect.py https://github.com/RustPython/RustPython/pull/5377/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
test__opcode.py https://github.com/RustPython/RustPython/pull/5377/files#diff-ae73a75dc8c7af5ba9622b7222e7932d84851d64b5732b782f8525c157bfe12e
test_abc.py https://github.com/RustPython/RustPython/pull/5377/files#diff-e020d5ddd536ec48b0414753af7d5240750a05262f32dad378b4c79e6cc3743d
test_compile.py https://github.com/RustPython/RustPython/pull/5377/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43
test_copy.py https://github.com/RustPython/RustPython/pull/5377/files#diff-e523221c4331dc96024d5c3a51a1c0d8ef2d11aa4ff0429d9fa286d054189bbb
__init__.py https://github.com/RustPython/RustPython/pull/5377/files#diff-212e368b34eb9b134f87e765787d6d26b747235a358e13da8922f83861c0d676
dataclass_module_1.py https://github.com/RustPython/RustPython/pull/5377/files#diff-a346bb868e81067458f2b8f0dd5da5301fbfb984fe280b3285cda7ed7c301c05
dataclass_module_1_str.py https://github.com/RustPython/RustPython/pull/5377/files#diff-bb3436a80e29b67755f49fd8b774949d183083dd54b9c83b405ad46cdcab2593
dataclass_module_2.py https://github.com/RustPython/RustPython/pull/5377/files#diff-69b710a0533b0ef8312ef2f36741f3dac251f7cd3996cd4956aa778369849ec9
dataclass_module_2_str.py https://github.com/RustPython/RustPython/pull/5377/files#diff-000e7a63dbc9db36f86aa2088de13175160c1164b4690f4ac27842ec0011b0f9
dataclass_textanno.py https://github.com/RustPython/RustPython/pull/5377/files#diff-b7faf780059e706ab4ffac6313af44360dfa8ae805da0cc6c77efc53ddecdf6c
test_enum.py https://github.com/RustPython/RustPython/pull/5377/files#diff-8467f9fbbff81abf26d87a8dbbf0e0c866157971948010e48cc73539251a9e4c
test_fstring.py https://github.com/RustPython/RustPython/pull/5377/files#diff-8c1fe2af639c01d0d8e2368a8ab4ed407b1df4a3411e273b3fd5d0278ceb7393
__init__.py https://github.com/RustPython/RustPython/pull/5377/files#diff-1a398ffbb1274a4b4328069e0852fe3fc1f98deae8566af16e396aca1c2f284f
inspect_fodder.py https://github.com/RustPython/RustPython/pull/5377/files#diff-e1c316ab622d3e536fc41fa1c5b490304b760eb9c66376f5555274d90244cfcd
inspect_fodder2.py https://github.com/RustPython/RustPython/pull/5377/files#diff-64c762ed3f42a90a971401cc418a6f703963ecf124e479d86ec4b33852cb5955
inspect_stock_annotations.py https://github.com/RustPython/RustPython/pull/5377/files#diff-3022fc0acd9a4117f5c2ee12b5c97c6838d9d8285182cdade043b6f7729e5bd0
inspect_stringized_annotations.py https://github.com/RustPython/RustPython/pull/5377/files#diff-bf2449755d4e366fe227faf25ba12aa9bf434878c0377bd00d8d761b0ee64b81
inspect_stringized_annotations_2.py https://github.com/RustPython/RustPython/pull/5377/files#diff-bf726bd2cd1a62a0cf9c88261779042c6315101a2d7629b1ea77b4c7e660f667
inspect_stringized_annotations_pep695.py https://github.com/RustPython/RustPython/pull/5377/files#diff-dbd245caa1ac455eb3caf3dd4c88fce120e2bb2b74cfe474d07f4d3d17862f15
test_inspect.py https://github.com/RustPython/RustPython/pull/5377/files#diff-92d8ecc68ed9e7ce3b31a764d5b0368db1514365c2a6433bbe3bad5c3210cea0
testhelpers.py https://github.com/RustPython/RustPython/pull/5377/files#diff-29c9bac78ef671714bc978cfd033586a1f96df08736194b42b66e5a8fcc08bbe
__init__.py https://github.com/RustPython/RustPython/pull/5377/files#diff-21be9e4809f5cd7dcd4665eb0054b4bf9d924c2c9ce0a010e85dba405e94d9e9
pattern.rs https://github.com/RustPython/RustPython/pull/5377/files#diff-e0d6c9178f9fd04d0a7265e142d7e1be329b8a40e8c6ad3d3d18c94f97769f5f
Lib/dataclasses.pyhttps://github.com/RustPython/RustPython/pull/5377/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5
View file https://github.com/youknowone/RustPython/blob/9bbfdf5067542d3b23e48f9e5019a6dc17dddaf6/Lib/dataclasses.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5377/files
Lib/dis.pyhttps://github.com/RustPython/RustPython/pull/5377/files#diff-96747735ee3c8aed3dd0f4c1b1ab0310eeb344577b14887cc9f6605892df47a8
View file https://github.com/youknowone/RustPython/blob/9bbfdf5067542d3b23e48f9e5019a6dc17dddaf6/Lib/dis.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5377/files
Lib/inspect.pyhttps://github.com/RustPython/RustPython/pull/5377/files#diff-b89cd06e4637abacb73f2500301ff979a67ad7ecbfa7cf151c7243715898d7ea
View file https://github.com/youknowone/RustPython/blob/9bbfdf5067542d3b23e48f9e5019a6dc17dddaf6/Lib/inspect.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5377/files
Lib/test/test__opcode.pyhttps://github.com/RustPython/RustPython/pull/5377/files#diff-ae73a75dc8c7af5ba9622b7222e7932d84851d64b5732b782f8525c157bfe12e
View file https://github.com/youknowone/RustPython/blob/9bbfdf5067542d3b23e48f9e5019a6dc17dddaf6/Lib/test/test__opcode.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/5377/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/5377/files#diff-ae73a75dc8c7af5ba9622b7222e7932d84851d64b5732b782f8525c157bfe12e
https://github.com/RustPython/RustPython/pull/5377/files#diff-ae73a75dc8c7af5ba9622b7222e7932d84851d64b5732b782f8525c157bfe12e
https://github.com/RustPython/RustPython/pull/5377/files#diff-ae73a75dc8c7af5ba9622b7222e7932d84851d64b5732b782f8525c157bfe12e
Lib/test/test_abc.pyhttps://github.com/RustPython/RustPython/pull/5377/files#diff-e020d5ddd536ec48b0414753af7d5240750a05262f32dad378b4c79e6cc3743d
View file https://github.com/youknowone/RustPython/blob/9bbfdf5067542d3b23e48f9e5019a6dc17dddaf6/Lib/test/test_abc.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/5377/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/5377/files#diff-e020d5ddd536ec48b0414753af7d5240750a05262f32dad378b4c79e6cc3743d
https://github.com/RustPython/RustPython/pull/5377/files#diff-e020d5ddd536ec48b0414753af7d5240750a05262f32dad378b4c79e6cc3743d
Lib/test/test_compile.pyhttps://github.com/RustPython/RustPython/pull/5377/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43
View file https://github.com/youknowone/RustPython/blob/9bbfdf5067542d3b23e48f9e5019a6dc17dddaf6/Lib/test/test_compile.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/5377/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/5377/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43
https://github.com/RustPython/RustPython/pull/5377/files#diff-c69ceae0611c40012b4691e3536bf17efacdb5b51b8e155eec9a939108e42e43
Lib/test/test_copy.pyhttps://github.com/RustPython/RustPython/pull/5377/files#diff-e523221c4331dc96024d5c3a51a1c0d8ef2d11aa4ff0429d9fa286d054189bbb
View file https://github.com/youknowone/RustPython/blob/9bbfdf5067542d3b23e48f9e5019a6dc17dddaf6/Lib/test/test_copy.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/5377/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/5377/files#diff-e523221c4331dc96024d5c3a51a1c0d8ef2d11aa4ff0429d9fa286d054189bbb
https://github.com/RustPython/RustPython/pull/5377/files#diff-e523221c4331dc96024d5c3a51a1c0d8ef2d11aa4ff0429d9fa286d054189bbb
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5377/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/5377/files
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.