| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8e430689-c88c-bde6-0b58-aa1725dd0b38 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE5C:66C5B:1A7157F:23B0E3D:696EB6F3 |
| html-safe-nonce | 31f667926930be57e4589589a55a4cc4a7657f1f1b9660eb5d93be5b2a7ad7de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTVDOjY2QzVCOjFBNzE1N0Y6MjNCMEUzRDo2OTZFQjZGMyIsInZpc2l0b3JfaWQiOiI3MDA4NDI0NTY0NzU2NDk0MDY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8e2297967f30a0a1df991216039af9cf092dc21e6fbbe1d41ca3ddb41ad567e5 |
| hovercard-subject-tag | pull_request:3186399725 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/144021/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/48b3994b29139ae8595c99ce251ccc8632a94c5d395c47b1cd00f814c326d4d4/python/cpython/pull/144021 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/48b3994b29139ae8595c99ce251ccc8632a94c5d395c47b1cd00f814c326d4d4/python/cpython/pull/144021 |
| og:image:alt | Specifying frozen=True for a dataclass adds methods __setattr__ and __detattr__ to it. These methods reference the class via closure. If slots=True is also present, then the class is recreated with... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Prometheus3375 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144021 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144021 |
|
Sign up
| https://patch-diff.githubusercontent.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 |
| Reload | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| Reload | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| Reload | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
|
python
| https://patch-diff.githubusercontent.com/python |
| cpython | https://patch-diff.githubusercontent.com/python/cpython |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://patch-diff.githubusercontent.com/python/cpython |
|
Issues
5k+
| https://patch-diff.githubusercontent.com/python/cpython/issues |
|
Pull requests
2.1k
| https://patch-diff.githubusercontent.com/python/cpython/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/python/cpython/actions |
|
Projects
31
| https://patch-diff.githubusercontent.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://patch-diff.githubusercontent.com/python/cpython/security |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
|
Insights
| https://patch-diff.githubusercontent.com/python/cpython/pulse |
|
Code
| https://patch-diff.githubusercontent.com/python/cpython |
|
Issues
| https://patch-diff.githubusercontent.com/python/cpython/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/python/cpython/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/python/cpython/actions |
|
Projects
| https://patch-diff.githubusercontent.com/python/cpython/projects |
|
Security
| https://patch-diff.githubusercontent.com/python/cpython/security |
|
Insights
| https://patch-diff.githubusercontent.com/python/cpython/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#issue-comment-box |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| python:main | https://patch-diff.githubusercontent.com/python/cpython/tree/main |
| Prometheus3375:fix-dataclass-frozen-slots-leak | https://patch-diff.githubusercontent.com/Prometheus3375/cpython/tree/fix-dataclass-frozen-slots-leak |
|
gh-135228: Properly update closure cells for __setattr__ and __detattr__ in frozen dataclasses with slots
| https://patch-diff.githubusercontent.com/python/cpython/pull/144021#top |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| python:main | https://patch-diff.githubusercontent.com/python/cpython/tree/main |
| Prometheus3375:fix-dataclass-frozen-slots-leak | https://patch-diff.githubusercontent.com/Prometheus3375/cpython/tree/fix-dataclass-frozen-slots-leak |
|
Conversation
5
| https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
|
Commits
9
| https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits |
|
Checks
43
| https://patch-diff.githubusercontent.com/python/cpython/pull/144021/checks |
|
Files changed
3
| https://patch-diff.githubusercontent.com/python/cpython/pull/144021/files |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| Jan 19, 2026 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#issue-3828096997 |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| 1 | https://github.com/python/cpython/issues/135228#issuecomment-3755979059 |
| 2 | https://github.com/python/cpython/issues/135228#issuecomment-3766451124 |
| 3.14 regression: slot dataclasses classes leak original class #135228 | https://github.com/python/cpython/issues/135228 |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| ericvsmith | https://patch-diff.githubusercontent.com/ericvsmith |
| code owner | https://patch-diff.githubusercontent.com/python/cpython/blob/59d3594ca12939dea0a537d9964d8d637546855c/.github/CODEOWNERS#L415 |
| January 19, 2026 05:45 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#event-22128957083 |
| https://patch-diff.githubusercontent.com/apps/python-cla-bot |
| python-cla-bot | https://patch-diff.githubusercontent.com/apps/python-cla-bot |
| Jan 19, 2026 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#issuecomment-3766507624 |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| https://cla.python.org/ |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| https://patch-diff.githubusercontent.com/apps/bedevere-app |
| bedevere-app | https://patch-diff.githubusercontent.com/apps/bedevere-app |
|
Jan 19, 2026
| https://patch-diff.githubusercontent.com/python/cpython/pull/144021#ref-issue-3126086443 |
|
3.14 regression: slot dataclasses classes leak original class
#135228
| https://patch-diff.githubusercontent.com/python/cpython/issues/135228 |
| https://patch-diff.githubusercontent.com/apps/bedevere-app |
| bedevere-app | https://patch-diff.githubusercontent.com/apps/bedevere-app |
|
awaiting review
| https://patch-diff.githubusercontent.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jan 19, 2026 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#event-22128958587 |
| https://patch-diff.githubusercontent.com/JelleZijlstra |
| JelleZijlstra | https://patch-diff.githubusercontent.com/JelleZijlstra |
| Jan 19, 2026 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#issuecomment-3766521333 |
| https://github.com/python/cpython/pull/137047/files#diff-212e368b34eb9b134f87e765787d6d26b747235a358e13da8922f83861c0d676 | https://github.com/python/cpython/pull/137047/files#diff-212e368b34eb9b134f87e765787d6d26b747235a358e13da8922f83861c0d676 |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| January 19, 2026 05:59 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#commits-pushed-2160254 |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Use __class__ in setattr and delattr | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/2160254b30ee50e8b045c44a6218b56b7c39bc2b |
| 2160254 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/2160254b30ee50e8b045c44a6218b56b7c39bc2b |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Rename _frozen_get_del_attr | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/a6de29b287715f782f1b92c8c3717d1dcb1e908e |
| a6de29b | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/a6de29b287715f782f1b92c8c3717d1dcb1e908e |
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| force-pushed | https://patch-diff.githubusercontent.com/python/cpython/compare/fdc81bb387560b06396ca48d74b4ee01b800d137..a6de29b287715f782f1b92c8c3717d1dcb1e908e |
| fdc81bb | https://patch-diff.githubusercontent.com/python/cpython/commit/fdc81bb387560b06396ca48d74b4ee01b800d137 |
| a6de29b | https://patch-diff.githubusercontent.com/python/cpython/commit/a6de29b287715f782f1b92c8c3717d1dcb1e908e |
|
Compare
| https://patch-diff.githubusercontent.com/python/cpython/compare/fdc81bb387560b06396ca48d74b4ee01b800d137..a6de29b287715f782f1b92c8c3717d1dcb1e908e |
| January 19, 2026 06:19 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#event-22129397870 |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Add tests | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/63c4e191b91d4fc348f6f5a7df03c398dd2b4167 |
| 63c4e19 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/63c4e191b91d4fc348f6f5a7df03c398dd2b4167 |
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| Jan 19, 2026 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#issuecomment-3766738286 |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
|
Jan 19, 2026
| https://patch-diff.githubusercontent.com/python/cpython/pull/144021#pullrequestreview-3676562575 |
|
View reviewed changes
| https://patch-diff.githubusercontent.com/python/cpython/pull/144021/files/63c4e191b91d4fc348f6f5a7df03c398dd2b4167 |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| https://patch-diff.githubusercontent.com/python/cpython/pull/144021#pullrequestreview-3676562575 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| January 19, 2026 20:50 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#commits-pushed-d357716 |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Rename test | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/d35771650f02e3ab21345ec5f7e8fae1b9be0ecf |
| d357716 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/d35771650f02e3ab21345ec5f7e8fae1b9be0ecf |
|
| https://patch-diff.githubusercontent.com/apps/blurb-it |
| 📜🤖 Added by blurb_it. | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/9b33e89370ff5778b01286f78954c189eff1383f |
| 9b33e89 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/9b33e89370ff5778b01286f78954c189eff1383f |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Reformat news entry | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/bff566a20c23df5fe45b9d7fef4d4119cbcf8673 |
| bff566a | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/bff566a20c23df5fe45b9d7fef4d4119cbcf8673 |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Move tests to other case | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/883363fa62a12c615c05cfeafff4d19417559094 |
| 883363f | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/883363fa62a12c615c05cfeafff4d19417559094 |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Add another test | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/1c8f7b92c6f376146b34836fb54dac356512c41d |
| 1c8f7b9 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/1c8f7b92c6f376146b34836fb54dac356512c41d |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Rephrase news entry | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/bb82978857fc2eda07729285b40b95927a01aa18 |
| bb82978 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021/commits/bb82978857fc2eda07729285b40b95927a01aa18 |
| https://patch-diff.githubusercontent.com/Prometheus3375 |
| Prometheus3375 | https://patch-diff.githubusercontent.com/Prometheus3375 |
| Jan 19, 2026 | https://patch-diff.githubusercontent.com/python/cpython/pull/144021#issuecomment-3770297427 |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144021 |
|
| https://patch-diff.githubusercontent.com/ericvsmith |
|
ericvsmith
| https://patch-diff.githubusercontent.com/ericvsmith |
|
awaiting review
| https://patch-diff.githubusercontent.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Please reload this page | https://patch-diff.githubusercontent.com/python/cpython/pull/144021 |
|
| https://patch-diff.githubusercontent.com/Prometheus3375 |
|
| https://patch-diff.githubusercontent.com/JelleZijlstra |
|
| 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 |