René's URL Explorer Experiment


Title: Ensure __new__ entries in class __dict__ are staticmethods by Copilot · Pull Request #6659 · RustPython/RustPython · GitHub

Open Graph Title: Ensure __new__ entries in class __dict__ are staticmethods by Copilot · Pull Request #6659 · RustPython/RustPython

X Title: Ensure __new__ entries in class __dict__ are staticmethods by Copilot · Pull Request #6659 · RustPython/RustPython

Description: 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__ functions i...

Open Graph Description: 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...

X Description: Class __dict__.get("__new__") returned the raw function instead of the staticmethod wrapper, diverging from CPython. Behavior alignment During type creation, wrap user-defined _...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4f2ce60e-55cd-902b-6c53-b0bdf5bbdbd4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9922:2C3E22:3148FD0:4043724:696B8625
html-safe-nonce5b1b62a6c83fa8f4e3a9765418928062a020c391a2089f80eb067a1518fc3501
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTIyOjJDM0UyMjozMTQ4RkQwOjQwNDM3MjQ6Njk2Qjg2MjUiLCJ2aXNpdG9yX2lkIjoiMTE1OTMzODY5ODYxNjgzMzU3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7a03ea2f1473249c3a18bc17746e38a95cfd541fb9b1b00ff71bc45a7ec70b13
hovercard-subject-tagpull_request:3147819324
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/6659/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b01fd43f1c3e55b842251a0fbaa4954fe9413d904cef4f3bede39e14bc8a8be3/RustPython/RustPython/pull/6659
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b01fd43f1c3e55b842251a0fbaa4954fe9413d904cef4f3bede39e14bc8a8be3/RustPython/RustPython/pull/6659
og:image:altClass __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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/RustPython/RustPython/pull/6659
Reloadhttps://github.com/RustPython/RustPython/pull/6659
Reloadhttps://github.com/RustPython/RustPython/pull/6659
RustPython https://github.com/RustPython
RustPythonhttps://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 pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/RustPython/RustPython/pull/6659#issue-comment-box
youknowonehttps://github.com/youknowone
mainhttps://github.com/RustPython/RustPython/tree/main
copilot/fix-special-methods-behaviorhttps://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
youknowonehttps://github.com/youknowone
mainhttps://github.com/RustPython/RustPython/tree/main
copilot/fix-special-methods-behaviorhttps://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
Copilothttps://github.com/apps/copilot-swe-agent
Jan 6, 2026https://github.com/RustPython/RustPython/pull/6659#issue-3783262952
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6659
https://docs.python.org/3/reference/datamodel.html#object.__newhttps://docs.python.org/3/reference/datamodel.html#object.__new
@copilothttps://gh.io/copilot-coding-agent-docs
Special methods #6658https://github.com/RustPython/RustPython/issues/6658
Copilot coding agent tipshttps://gh.io/copilot-coding-agent-tips
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6659
https://github.com/apps/copilot-swe-agent
Initial planhttps://github.com/RustPython/RustPython/pull/6659/commits/984c2a8cc1c836c8230919ce75c027f8e979408b
984c2a8https://github.com/RustPython/RustPython/pull/6659/commits/984c2a8cc1c836c8230919ce75c027f8e979408b
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
youknowonehttps://github.com/youknowone
Jan 6, 2026https://github.com/RustPython/RustPython/pull/6659#event-21865274058
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jan 6, 2026https://github.com/RustPython/RustPython/pull/6659#issuecomment-3712546705
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6659
started workhttps://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2a2e947c-03e4-44c4-9312-c02da40fd71e
youknowonehttps://github.com/youknowone
January 6, 2026 00:13https://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 dictshttps://github.com/RustPython/RustPython/pull/6659/commits/c97347c88943928e0adfddc2db43a760a10f59bb
c97347chttps://github.com/RustPython/RustPython/pull/6659/commits/c97347c88943928e0adfddc2db43a760a10f59bb
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Jan 6, 2026https://github.com/RustPython/RustPython/pull/6659#event-21865557299
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
youknowonehttps://github.com/youknowone
January 6, 2026 00:40https://github.com/RustPython/RustPython/pull/6659#event-21865558878
finished workhttps://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2a2e947c-03e4-44c4-9312-c02da40fd71e
youknowonehttps://github.com/youknowone
January 6, 2026 00:40https://github.com/RustPython/RustPython/pull/6659#event-21865558931
https://github.com/youknowone
youknowonehttps://github.com/youknowone
January 6, 2026 01:06https://github.com/RustPython/RustPython/pull/6659#event-21865878400
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Jan 6, 2026https://github.com/RustPython/RustPython/pull/6659#issuecomment-3712820620
@copilothttps://gh.io/copilot-coding-agent-docs
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6659
started workhttps://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2aea8334-5650-4a0b-a69c-b35c50af665d
youknowonehttps://github.com/youknowone
January 6, 2026 02:10https://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 testhttps://github.com/RustPython/RustPython/pull/6659/commits/662bbd2f89ca619d4016f34ba229b07658cb8585
662bbd2https://github.com/RustPython/RustPython/pull/6659/commits/662bbd2f89ca619d4016f34ba229b07658cb8585
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Jan 6, 2026https://github.com/RustPython/RustPython/pull/6659#issuecomment-3712837962
@copilothttps://gh.io/copilot-coding-agent-docs
662bbd2https://github.com/RustPython/RustPython/commit/662bbd2f89ca619d4016f34ba229b07658cb8585
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6659
finished workhttps://github.com/copilot/tasks/pull/PR_kwDOCA8Bec67n-k8?session_id=2aea8334-5650-4a0b-a69c-b35c50af665d
youknowonehttps://github.com/youknowone
January 6, 2026 02:20https://github.com/RustPython/RustPython/pull/6659#event-21866618967
https://github.com/youknowone
youknowonehttps://github.com/youknowone
03380dchttps://github.com/RustPython/RustPython/commit/03380dc4ecf6d21f53be9de36a689b5c6534da0d
Jan 6, 2026https://github.com/RustPython/RustPython/pull/6659#event-21867164327
Please reload this pagehttps://github.com/RustPython/RustPython/pull/6659
https://github.com/youknowone
youknowonehttps://github.com/youknowone
January 6, 2026 03:16https://github.com/RustPython/RustPython/pull/6659#event-21867164573
terryluan12https://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
17a6f37https://github.com/terryluan12/RustPython/commit/17a6f37714c814e49d3936a04526d3c966d10efd
…n#6659https://github.com/RustPython/RustPython/pull/6659
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/RustPython/RustPython/pull/6659
https://github.com/apps/copilot-swe-agent
https://github.com/youknowone
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.