| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1d9ce80a-ba7a-c47f-7529-4b771e3227d2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B13E:2DCAE8:221B896:2E78CB0:6B0029AE |
| html-safe-nonce | de23167787d93dd5bdbe5635a2601053bfbac01e95e79a5e8c15631b561d31be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTNFOjJEQ0FFODoyMjFCODk2OjJFNzhDQjA6NkIwMDI5QUUiLCJ2aXNpdG9yX2lkIjoiNTcyNDkyOTc0MDc3NTYzMTI3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7f0cac63840de615b7348103705c3e5a9682fc5436b664dec242d425435c3da3 |
| hovercard-subject-tag | pull_request:1991941626 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/5377/files |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/5377/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F5377%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F5377%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=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/5377/files |
| Reload | https://github.com/RustPython/RustPython/pull/5377/files |
| Reload | https://github.com/RustPython/RustPython/pull/5377/files |
| RustPython | https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
| Code | https://github.com/RustPython/RustPython |
| Issues195 (195) | https://github.com/RustPython/RustPython/issues |
| Pull requests144 (144) | https://github.com/RustPython/RustPython/pulls |
| Discussions | https://github.com/RustPython/RustPython/discussions |
| Actions | https://github.com/RustPython/RustPython/actions |
| Projects | https://github.com/RustPython/RustPython/projects |
| Wiki | https://github.com/RustPython/RustPython/wiki |
| Security and quality | https://github.com/RustPython/RustPython/security |
| Insights | https://github.com/RustPython/RustPython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowone:inspect | https://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 page | https://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 page | https://github.com/RustPython/RustPython/pull/5377/files |
| Please reload this page | https://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.py | https://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 page | https://github.com/RustPython/RustPython/pull/5377/files |
| Lib/dis.py | https://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 page | https://github.com/RustPython/RustPython/pull/5377/files |
| Lib/inspect.py | https://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 page | https://github.com/RustPython/RustPython/pull/5377/files |
| Lib/test/test__opcode.py | https://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.py | https://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.py | https://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.py | https://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 page | https://github.com/RustPython/RustPython/pull/5377/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/5377/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |