| 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 | /_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:d0542f55-98f2-9494-6755-4babe734fc4f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8446:3E8F5A:D01B64:11DBF2B:6B00B476 |
| html-safe-nonce | 2089e27b13922c3e3de76666c735a63231a49197c1c814d65543ee9f090cd0b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDQ2OjNFOEY1QTpEMDFCNjQ6MTFEQkYyQjo2QjAwQjQ3NiIsInZpc2l0b3JfaWQiOiI3Njc4NzkzNTQ3NjI5NjYxMzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f91487a8a60f9326d60b7a96f4f02901271551f41279e2b5572d2ebfcacea797 |
| hovercard-subject-tag | pull_request:611092473 |
| 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/25268/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/8b31eec977841d2ba46f5ad598d0eb2c1938d77bf2e1f346f19c15fd536582d7/python/cpython/pull/25268 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b31eec977841d2ba46f5ad598d0eb2c1938d77bf2e1f346f19c15fd536582d7/python/cpython/pull/25268 |
| og:image:alt | Static methods (@staticmethod) and class methods (@classmethod) now
inherit the method attributes (module, name, qualname,
doc, annotations) and have a new wrapped attribute.
Changes:
Add a repr()... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| turbo-cache-control | no-cache |
| 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 | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/25268#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25268 |
| 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%2Fpython%2Fcpython%2Fpull%2F25268 |
| 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=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/25268 |
| Reload | https://github.com/python/cpython/pull/25268 |
| Reload | https://github.com/python/cpython/pull/25268 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| vstinner | https://github.com/vstinner |
| python:master | https://github.com/python/cpython/tree/master |
| Conversation | https://github.com/python/cpython/pull/25268 |
| Commits3 (3) | https://github.com/python/cpython/pull/25268/commits |
| Checks | https://github.com/python/cpython/pull/25268/checks |
| Files changed | https://github.com/python/cpython/pull/25268/files |
| bpo-43682: @staticmethod inherits attributes | https://github.com/python/cpython/pull/25268#top |
| vstinner | https://github.com/vstinner |
| python:master | https://github.com/python/cpython/tree/master |
|
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Apr 7, 2021 | https://github.com/python/cpython/pull/25268#issue-852908872 |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
| @staticmethod | https://github.com/staticmethod |
| @classmethod | https://github.com/classmethod |
| @classmethod | https://github.com/classmethod |
| https://bugs.python.org/issue43682 | https://bugs.python.org/issue43682 |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Apr 7, 2021 | https://github.com/python/cpython/pull/25268#event-4565422850 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Apr 7, 2021 | https://github.com/python/cpython/pull/25268#event-4565422966 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Apr 7, 2021 | https://github.com/python/cpython/pull/25268#issuecomment-815321068 |
| https://bugs.python.org/issue43770 | https://bugs.python.org/issue43770 |
| df5dc1c | https://github.com/python/cpython/commit/df5dc1c7a536abc2b497cb9506f8a37949838309 |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Apr 7, 2021 | https://github.com/python/cpython/pull/25268#issuecomment-815322859 |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
|
| https://github.com/vstinner |
| bpo-43682 | https://bugs.python.org/issue?@action=redirect&bpo=43682 |
| : | https://github.com/python/cpython/pull/25268/commits/b50eb0714a1f5836e1d881067d6ca72c628c8100 |
| @staticmethod | https://github.com/staticmethod |
| inherits method attributes | https://github.com/python/cpython/pull/25268/commits/b50eb0714a1f5836e1d881067d6ca72c628c8100 |
| b50eb07 | https://github.com/python/cpython/pull/25268/commits/b50eb0714a1f5836e1d881067d6ca72c628c8100 |
| @staticmethod | https://github.com/staticmethod |
| @classmethod | https://github.com/classmethod |
| @classmethod | https://github.com/classmethod |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Apr 7, 2021 | https://github.com/python/cpython/pull/25268#issuecomment-815336867 |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
| vstinner | https://github.com/vstinner |
| April 8, 2021 01:34 | https://github.com/python/cpython/pull/25268#commits-pushed-1b1e12b |
|
| https://github.com/vstinner |
| Factorize tests | https://github.com/python/cpython/pull/25268/commits/1b1e12b4f90e2411a3d19885ba7f79ac297b0ceb |
| 1b1e12b | https://github.com/python/cpython/pull/25268/commits/1b1e12b4f90e2411a3d19885ba7f79ac297b0ceb |
|
| https://github.com/vstinner |
| Fix tests | https://github.com/python/cpython/pull/25268/commits/80469c901d8a2efde429fed38dd7dfc08c8ab84e |
| 80469c9 | https://github.com/python/cpython/pull/25268/commits/80469c901d8a2efde429fed38dd7dfc08c8ab84e |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Apr 8, 2021
| https://github.com/python/cpython/pull/25268#ref-pullrequest-846783370 |
|
bpo-43682: Make staticmethod objects callable
#25117
| https://github.com/python/cpython/pull/25117 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| 507a574 | https://github.com/python/cpython/commit/507a574de31a1bd7fed8ba4f04afa285d985109b |
| Apr 9, 2021 | https://github.com/python/cpython/pull/25268#event-4575191716 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Apr 9, 2021 | https://github.com/python/cpython/pull/25268#event-4575191884 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| April 9, 2021 15:51 | https://github.com/python/cpython/pull/25268#event-4575191917 |
| AlexWaygood | https://github.com/AlexWaygood |
|
Nov 12, 2021
| https://github.com/python/cpython/pull/25268#ref-commit-0d22fe9 |
|
| https://github.com/AlexWaygood |
| Add __name__/__qualname__/__wrapped__ to staticmethod/`classm… | https://github.com/AlexWaygood/typeshed/commit/0d22fe9429022cf0e24eea3cb7fb3c87f691754b |
| 0d22fe9 | https://github.com/AlexWaygood/typeshed/commit/0d22fe9429022cf0e24eea3cb7fb3c87f691754b |
| python/cpython#25268 | https://github.com/python/cpython/pull/25268 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Nov 12, 2021
| https://github.com/python/cpython/pull/25268#ref-pullrequest-1051870223 |
|
Add __name__/__qualname__/__wrapped__ to staticmethod/classmethod
python/typeshed#6281
| https://github.com/python/typeshed/pull/6281 |
| https://github.com/scottcwang |
| scottcwang | https://github.com/scottcwang |
|
Jan 27, 2022
| https://github.com/python/cpython/pull/25268#ref-issue-1115608054 |
|
AttributeError: 'staticmethod' object has no attribute '__name__'
scottcwang/openssh_key_parser#1
| https://github.com/scottcwang/openssh_key_parser/issues/1 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
|
Jun 23, 2022
| https://github.com/python/cpython/pull/25268#ref-issue-1199055664 |
|
Make static methods created by @staticmethod callable
#87848
| https://github.com/python/cpython/issues/87848 |
| https://github.com/geryogam |
| geryogam | https://github.com/geryogam |
| May 21, 2023 | https://github.com/python/cpython/pull/25268#issuecomment-1556054317 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
| https://github.com/carljm |
| carljm | https://github.com/carljm |
| May 21, 2023 | https://github.com/python/cpython/pull/25268#issuecomment-1556073740 |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
| https://github.com/geryogam |
| geryogam | https://github.com/geryogam |
| May 21, 2023 | https://github.com/python/cpython/pull/25268#issuecomment-1556306904 |
| @carljm | https://github.com/carljm |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jul 1, 2023
| https://github.com/python/cpython/pull/25268#pullrequestreview-1508421095 |
|
View reviewed changes
| https://github.com/python/cpython/pull/25268/files/80469c901d8a2efde429fed38dd7dfc08c8ab84e |
| Objects/funcobject.c | https://github.com/python/cpython/pull/25268/files/80469c901d8a2efde429fed38dd7dfc08c8ab84e#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jul 1, 2023 | https://github.com/python/cpython/pull/25268#discussion_r1248679489 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #106303 | https://github.com/python/cpython/issues/106303 |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| 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%2Fpython%2Fcpython%2Fpull%2F25268 |
|
| https://github.com/serhiy-storchaka |
|
serhiy-storchaka
| https://github.com/serhiy-storchaka |
|
| https://github.com/python/cpython/pull/25268/files/80469c901d8a2efde429fed38dd7dfc08c8ab84e |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
| Please reload this page | https://github.com/python/cpython/pull/25268 |
|
| https://github.com/vstinner |
|
| https://github.com/geryogam |
|
| https://github.com/carljm |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/the-knights-who-say-ni |
|
| https://github.com/bedevere-bot |
|
| 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 |