| 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:4f2ce60e-55cd-902b-6c53-b0bdf5bbdbd4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9922:2C3E22:3148FD0:4043724:696B8625 |
| html-safe-nonce | 5b1b62a6c83fa8f4e3a9765418928062a020c391a2089f80eb067a1518fc3501 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTIyOjJDM0UyMjozMTQ4RkQwOjQwNDM3MjQ6Njk2Qjg2MjUiLCJ2aXNpdG9yX2lkIjoiMTE1OTMzODY5ODYxNjgzMzU3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a03ea2f1473249c3a18bc17746e38a95cfd541fb9b1b00ff71bc45a7ec70b13 |
| hovercard-subject-tag | pull_request:3147819324 |
| 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/RustPython/RustPython/6659/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/b01fd43f1c3e55b842251a0fbaa4954fe9413d904cef4f3bede39e14bc8a8be3/RustPython/RustPython/pull/6659 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b01fd43f1c3e55b842251a0fbaa4954fe9413d904cef4f3bede39e14bc8a8be3/RustPython/RustPython/pull/6659 |
| og:image:alt | Class __dict__.get("__new__") returned the raw function instead of the staticmethod wrapper, diverging from CPython.
Behavior alignment
During type creation, wrap user-defined __new__ f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Copilot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/6659#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6659 |
| 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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6659 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/6659 |
| Reload | https://github.com/RustPython/RustPython/pull/6659 |
| Reload | https://github.com/RustPython/RustPython/pull/6659 |
|
RustPython
| https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
|
Notifications
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Fork
1.4k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Star
21.7k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
277
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
92
| https://github.com/RustPython/RustPython/pulls |
|
Discussions
| https://github.com/RustPython/RustPython/discussions |
|
Actions
| https://github.com/RustPython/RustPython/actions |
|
Projects
0
| https://github.com/RustPython/RustPython/projects |
|
Wiki
| https://github.com/RustPython/RustPython/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/RustPython/RustPython/security |
| Please reload this page | https://github.com/RustPython/RustPython/pull/6659 |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
| 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
| https://github.com/RustPython/RustPython/security |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
| 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 |
| Jump to bottom | https://github.com/RustPython/RustPython/pull/6659#issue-comment-box |
| youknowone | https://github.com/youknowone |
| main | https://github.com/RustPython/RustPython/tree/main |
| copilot/fix-special-methods-behavior | https://github.com/RustPython/RustPython/tree/copilot/fix-special-methods-behavior |
|
Ensure __new__ entries in class __dict__ are staticmethods
| https://github.com/RustPython/RustPython/pull/6659#top |
| youknowone | https://github.com/youknowone |
| main | https://github.com/RustPython/RustPython/tree/main |
| copilot/fix-special-methods-behavior | https://github.com/RustPython/RustPython/tree/copilot/fix-special-methods-behavior |
|
Conversation
3
| https://github.com/RustPython/RustPython/pull/6659 |
|
Commits
3
| https://github.com/RustPython/RustPython/pull/6659/commits |
|
Checks
12
| https://github.com/RustPython/RustPython/pull/6659/checks |
|
Files changed
3
| https://github.com/RustPython/RustPython/pull/6659/files |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }} |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Jan 6, 2026 | https://github.com/RustPython/RustPython/pull/6659#issue-3783262952 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/6659 |
| https://docs.python.org/3/reference/datamodel.html#object.__new | https://docs.python.org/3/reference/datamodel.html#object.__new |
| @copilot | https://gh.io/copilot-coding-agent-docs |
| Special methods #6658 | https://github.com/RustPython/RustPython/issues/6658 |
| Copilot coding agent tips | https://gh.io/copilot-coding-agent-tips |
| Please reload this page | https://github.com/RustPython/RustPython/pull/6659 |
|
| https://github.com/apps/copilot-swe-agent |
| Initial plan | https://github.com/RustPython/RustPython/pull/6659/commits/984c2a8cc1c836c8230919ce75c027f8e979408b |
| 984c2a8 | https://github.com/RustPython/RustPython/pull/6659/commits/984c2a8cc1c836c8230919ce75c027f8e979408b |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| youknowone | https://github.com/youknowone |
| Jan 6, 2026 | https://github.com/RustPython/RustPython/pull/6659#event-21865274058 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Jan 6, 2026 | https://github.com/RustPython/RustPython/pull/6659#issuecomment-3712546705 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/6659 |
| started work | https://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2a2e947c-03e4-44c4-9312-c02da40fd71e |
| youknowone | https://github.com/youknowone |
| January 6, 2026 00:13 | https://github.com/RustPython/RustPython/pull/6659#event-21865278500 |
|
View session
| https://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2a2e947c-03e4-44c4-9312-c02da40fd71e |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/youknowone |
| Wrap __new__ methods as staticmethods in type dicts | https://github.com/RustPython/RustPython/pull/6659/commits/c97347c88943928e0adfddc2db43a760a10f59bb |
| c97347c | https://github.com/RustPython/RustPython/pull/6659/commits/c97347c88943928e0adfddc2db43a760a10f59bb |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Jan 6, 2026 | https://github.com/RustPython/RustPython/pull/6659#event-21865557299 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| youknowone | https://github.com/youknowone |
| January 6, 2026 00:40 | https://github.com/RustPython/RustPython/pull/6659#event-21865558878 |
| finished work | https://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2a2e947c-03e4-44c4-9312-c02da40fd71e |
| youknowone | https://github.com/youknowone |
| January 6, 2026 00:40 | https://github.com/RustPython/RustPython/pull/6659#event-21865558931 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| January 6, 2026 01:06 | https://github.com/RustPython/RustPython/pull/6659#event-21865878400 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| Jan 6, 2026 | https://github.com/RustPython/RustPython/pull/6659#issuecomment-3712820620 |
| @copilot | https://gh.io/copilot-coding-agent-docs |
| Please reload this page | https://github.com/RustPython/RustPython/pull/6659 |
| started work | https://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2aea8334-5650-4a0b-a69c-b35c50af665d |
| youknowone | https://github.com/youknowone |
| January 6, 2026 02:10 | https://github.com/RustPython/RustPython/pull/6659#event-21866514658 |
|
View session
| https://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2aea8334-5650-4a0b-a69c-b35c50af665d |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/youknowone |
| Unmark passing enum test | https://github.com/RustPython/RustPython/pull/6659/commits/662bbd2f89ca619d4016f34ba229b07658cb8585 |
| 662bbd2 | https://github.com/RustPython/RustPython/pull/6659/commits/662bbd2f89ca619d4016f34ba229b07658cb8585 |
|
| https://github.com/apps/copilot-swe-agent |
| Copilot | https://github.com/apps/copilot-swe-agent |
| Jan 6, 2026 | https://github.com/RustPython/RustPython/pull/6659#issuecomment-3712837962 |
| @copilot | https://gh.io/copilot-coding-agent-docs |
| 662bbd2 | https://github.com/RustPython/RustPython/commit/662bbd2f89ca619d4016f34ba229b07658cb8585 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/6659 |
| finished work | https://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2aea8334-5650-4a0b-a69c-b35c50af665d |
| youknowone | https://github.com/youknowone |
| January 6, 2026 02:20 | https://github.com/RustPython/RustPython/pull/6659#event-21866618967 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| 03380dc | https://github.com/RustPython/RustPython/commit/03380dc4ecf6d21f53be9de36a689b5c6534da0d |
| Jan 6, 2026 | https://github.com/RustPython/RustPython/pull/6659#event-21867164327 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/6659 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| January 6, 2026 03:16 | https://github.com/RustPython/RustPython/pull/6659#event-21867164573 |
| terryluan12 | https://github.com/terryluan12 |
|
Jan 15, 2026
| https://github.com/RustPython/RustPython/pull/6659#ref-commit-17a6f37 |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/youknowone |
|
| https://github.com/terryluan12 |
| Ensure __new__ entries in class __dict__ are staticmethods ( | https://github.com/terryluan12/RustPython/commit/17a6f37714c814e49d3936a04526d3c966d10efd |
| RustPytho… | https://github.com/RustPython/RustPython/pull/6659 |
| 17a6f37 | https://github.com/terryluan12/RustPython/commit/17a6f37714c814e49d3936a04526d3c966d10efd |
| …n#6659 | https://github.com/RustPython/RustPython/pull/6659 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6659 |
|
| https://github.com/youknowone |
|
youknowone
| https://github.com/youknowone |
|
| https://github.com/youknowone |
|
youknowone
| https://github.com/youknowone |
|
Copilot code review
| https://github.com/apps/copilot-swe-agent |
|
Copilot
| https://github.com/apps/copilot-swe-agent |
|
Special methods
| https://github.com/RustPython/RustPython/issues/6658 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/6659 |
|
| https://github.com/apps/copilot-swe-agent |
|
| https://github.com/youknowone |
|
| 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 |