| 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:af2c809a-a34d-79d9-1de7-4d42c4d11594 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A100:2A7108:59D220:7C89CA:696A2628 |
| html-safe-nonce | f46f134e713603b2fd7519fb8d16ceea51660b8ec1ba2b2e04d2226034cb7b6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTAwOjJBNzEwODo1OUQyMjA6N0M4OUNBOjY5NkEyNjI4IiwidmlzaXRvcl9pZCI6IjcxMTk0OTQ3MzgzMTMwOTQ2OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dc5797226f770f5e71489300377a6270129a5dc8ef65b02922f884c806452937 |
| hovercard-subject-tag | pull_request:3128453217 |
| 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/6485/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5491c5d86a2bd1098cff35e8d9045abcc90cfcf2ab189b8e7a164a8992bb0f0f/RustPython/RustPython/pull/6485 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5491c5d86a2bd1098cff35e8d9045abcc90cfcf2ab189b8e7a164a8992bb0f0f/RustPython/RustPython/pull/6485 |
| og:image:alt | Not sure this is a good idea or not.
Motivation: we have too many fragmented traits, which are easy to forget to add in with() attrs.
Now __str__ will more looking like a normal #[pymethod]. But wh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | youknowone |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| 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 | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://redirect.github.com/RustPython/RustPython/pull/6485#start-of-content |
|
| https://redirect.github.com/ |
|
Sign in
| https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6485 |
| 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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6485 |
|
Sign up
| https://redirect.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://redirect.github.com/RustPython/RustPython/pull/6485 |
| Reload | https://redirect.github.com/RustPython/RustPython/pull/6485 |
| Reload | https://redirect.github.com/RustPython/RustPython/pull/6485 |
|
RustPython
| https://redirect.github.com/RustPython |
| RustPython | https://redirect.github.com/RustPython/RustPython |
|
Notifications
| https://redirect.github.com/login?return_to=%2FRustPython%2FRustPython |
|
Fork
1.4k
| https://redirect.github.com/login?return_to=%2FRustPython%2FRustPython |
|
Star
21.7k
| https://redirect.github.com/login?return_to=%2FRustPython%2FRustPython |
|
Code
| https://redirect.github.com/RustPython/RustPython |
|
Issues
276
| https://redirect.github.com/RustPython/RustPython/issues |
|
Pull requests
93
| https://redirect.github.com/RustPython/RustPython/pulls |
|
Discussions
| https://redirect.github.com/RustPython/RustPython/discussions |
|
Actions
| https://redirect.github.com/RustPython/RustPython/actions |
|
Projects
0
| https://redirect.github.com/RustPython/RustPython/projects |
|
Wiki
| https://redirect.github.com/RustPython/RustPython/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://redirect.github.com/RustPython/RustPython/security |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6485 |
|
Insights
| https://redirect.github.com/RustPython/RustPython/pulse |
|
Code
| https://redirect.github.com/RustPython/RustPython |
|
Issues
| https://redirect.github.com/RustPython/RustPython/issues |
|
Pull requests
| https://redirect.github.com/RustPython/RustPython/pulls |
|
Discussions
| https://redirect.github.com/RustPython/RustPython/discussions |
|
Actions
| https://redirect.github.com/RustPython/RustPython/actions |
|
Projects
| https://redirect.github.com/RustPython/RustPython/projects |
|
Wiki
| https://redirect.github.com/RustPython/RustPython/wiki |
|
Security
| https://redirect.github.com/RustPython/RustPython/security |
|
Insights
| https://redirect.github.com/RustPython/RustPython/pulse |
| Sign up for GitHub
| https://redirect.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://redirect.github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://redirect.github.com/RustPython/RustPython/pull/6485#issue-comment-box |
| youknowone | https://redirect.github.com/youknowone |
| RustPython:main | https://redirect.github.com/RustPython/RustPython/tree/main |
| youknowone:__str__ | https://redirect.github.com/youknowone/RustPython/tree/__str__ |
|
__str__ with slot wrapper, generate slot with #[pymethod]
| https://redirect.github.com/RustPython/RustPython/pull/6485#top |
| youknowone | https://redirect.github.com/youknowone |
| RustPython:main | https://redirect.github.com/RustPython/RustPython/tree/main |
| youknowone:__str__ | https://redirect.github.com/youknowone/RustPython/tree/__str__ |
|
Conversation
4
| https://redirect.github.com/RustPython/RustPython/pull/6485 |
|
Commits
1
| https://redirect.github.com/RustPython/RustPython/pull/6485/commits |
|
Checks
12
| https://redirect.github.com/RustPython/RustPython/pull/6485/checks |
|
Files changed
| https://redirect.github.com/RustPython/RustPython/pull/6485/files |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6485 |
| https://github.co/hiddenchars |
| https://redirect.github.com/RustPython/RustPython/pull/{{ revealButtonHref }} |
|
| https://redirect.github.com/youknowone |
| youknowone | https://redirect.github.com/youknowone |
| Dec 24, 2025 | https://redirect.github.com/RustPython/RustPython/pull/6485#issue-3760124132 |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6485 |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6485 |
| https://redirect.github.com/youknowone |
| youknowone | https://redirect.github.com/youknowone |
| ShaharNaveh | https://redirect.github.com/ShaharNaveh |
| coolreader18 | https://redirect.github.com/coolreader18 |
| December 24, 2025 11:47 | https://redirect.github.com/RustPython/RustPython/pull/6485#event-21740975988 |
| https://redirect.github.com/apps/coderabbitai |
| coderabbitai | https://redirect.github.com/apps/coderabbitai |
| Dec 24, 2025 | https://redirect.github.com/RustPython/RustPython/pull/6485#issuecomment-3689578481 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=6485 |
| X | https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai |
| Mastodon | https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai |
| Reddit | https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai |
| LinkedIn | https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6485 |
| https://redirect.github.com/youknowone |
| youknowone | https://redirect.github.com/youknowone |
| force-pushed | https://redirect.github.com/RustPython/RustPython/compare/05933fe0f061bd6c31616548e9b2a1751d888515..d4a21774bde60791ba74010def10202bbf1942d6 |
| 05933fe | https://redirect.github.com/RustPython/RustPython/commit/05933fe0f061bd6c31616548e9b2a1751d888515 |
| d4a2177 | https://redirect.github.com/RustPython/RustPython/commit/d4a21774bde60791ba74010def10202bbf1942d6 |
|
Compare
| https://redirect.github.com/RustPython/RustPython/compare/05933fe0f061bd6c31616548e9b2a1751d888515..d4a21774bde60791ba74010def10202bbf1942d6 |
| December 24, 2025 14:36 | https://redirect.github.com/RustPython/RustPython/pull/6485#event-21742819788 |
|
| https://redirect.github.com/youknowone |
| auto-generate slot_str | https://redirect.github.com/RustPython/RustPython/pull/6485/commits/fdbf65c4c8c02727f4b8389f6f30314dd68e3d62 |
| fdbf65c | https://redirect.github.com/RustPython/RustPython/pull/6485/commits/fdbf65c4c8c02727f4b8389f6f30314dd68e3d62 |
| https://redirect.github.com/youknowone |
| youknowone | https://redirect.github.com/youknowone |
| force-pushed | https://redirect.github.com/RustPython/RustPython/compare/d4a21774bde60791ba74010def10202bbf1942d6..fdbf65c4c8c02727f4b8389f6f30314dd68e3d62 |
| d4a2177 | https://redirect.github.com/RustPython/RustPython/commit/d4a21774bde60791ba74010def10202bbf1942d6 |
| fdbf65c | https://redirect.github.com/RustPython/RustPython/commit/fdbf65c4c8c02727f4b8389f6f30314dd68e3d62 |
|
Compare
| https://redirect.github.com/RustPython/RustPython/compare/d4a21774bde60791ba74010def10202bbf1942d6..fdbf65c4c8c02727f4b8389f6f30314dd68e3d62 |
| December 25, 2025 02:05 | https://redirect.github.com/RustPython/RustPython/pull/6485#event-21747164796 |
| https://redirect.github.com/ShaharNaveh |
| ShaharNaveh | https://redirect.github.com/ShaharNaveh |
| Dec 25, 2025 | https://redirect.github.com/RustPython/RustPython/pull/6485#issuecomment-3691291471 |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6485 |
| https://redirect.github.com/youknowone |
| youknowone | https://redirect.github.com/youknowone |
| Dec 25, 2025 | https://redirect.github.com/RustPython/RustPython/pull/6485#issuecomment-3691301793 |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6485 |
| https://redirect.github.com/ShaharNaveh |
| ShaharNaveh | https://redirect.github.com/ShaharNaveh |
|
Dec 25, 2025
| https://redirect.github.com/RustPython/RustPython/pull/6485#pullrequestreview-3612128140 |
|
View reviewed changes
| https://redirect.github.com/RustPython/RustPython/pull/6485/files/fdbf65c4c8c02727f4b8389f6f30314dd68e3d62 |
| ShaharNaveh | https://redirect.github.com/ShaharNaveh |
| https://redirect.github.com/RustPython/RustPython/pull/6485#pullrequestreview-3612128140 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #6485 (comment) | https://github.com/RustPython/RustPython/pull/6485#issuecomment-3691301793 |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6485 |
| https://redirect.github.com/youknowone |
| youknowone | https://redirect.github.com/youknowone |
|
Jan 2, 2026
| https://redirect.github.com/RustPython/RustPython/pull/6485#ref-pullrequest-3775504372 |
|
Warn user not to override special magic methods
#6625
| https://redirect.github.com/RustPython/RustPython/pull/6625 |
| Sign up for free | https://redirect.github.com/join?source=comment-repo |
| Sign in to comment | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F6485 |
|
| https://redirect.github.com/coolreader18 |
|
coolreader18
| https://redirect.github.com/coolreader18 |
|
| https://redirect.github.com/ShaharNaveh |
|
ShaharNaveh
| https://redirect.github.com/ShaharNaveh |
|
| https://redirect.github.com/RustPython/RustPython/pull/6485/files/fdbf65c4c8c02727f4b8389f6f30314dd68e3d62 |
| Please reload this page | https://redirect.github.com/RustPython/RustPython/pull/6485 |
|
| https://redirect.github.com/youknowone |
|
| https://redirect.github.com/ShaharNaveh |
|
| 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 |