| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b8602859-d907-04f5-3ffa-c21acb43199e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A8DC:842EC:15EDD:1E5E6:6B00B71F |
| html-safe-nonce | e4e5d879f4b455319fedf217a11e76751f09b4afa0b5340151ab50acfa55f97f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOERDOjg0MkVDOjE1RUREOjFFNUU2OjZCMDBCNzFGIiwidmlzaXRvcl9pZCI6Ijc1NzUzNjg5NDUxNjM2MTM5ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 632832bc8998220191381c2fe746f6dedd489901077c3879901b10bbdd121d6b |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/25268/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| 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:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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 |
| Skip to content | https://github.com/python/cpython/pull/25268/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25268%2Ffiles |
| 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%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/25268/files |
| Reload | https://github.com/python/cpython/pull/25268/files |
| Reload | https://github.com/python/cpython/pull/25268/files |
| 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 |
| Sign up for GitHub
| https://github.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://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| vstinner | https://github.com/vstinner |
| python:master | https://github.com/python/cpython/tree/master |
|
Conversation
7
| https://github.com/python/cpython/pull/25268 |
|
Commits
3
| https://github.com/python/cpython/pull/25268/commits |
|
Checks
0
| https://github.com/python/cpython/pull/25268/checks |
|
Files changed
| https://github.com/python/cpython/pull/25268/files |
| Please reload this page | https://github.com/python/cpython/pull/25268/files |
|
bpo-43682: @staticmethod inherits attributes
| https://github.com/python/cpython/pull/25268/files#top |
|
Show all changes
3 commits
| https://github.com/python/cpython/pull/25268/files |
|
b50eb07
bpo-43682: @staticmethod inherits method attributes
vstinner Apr 7, 2021
| https://github.com/python/cpython/pull/25268/commits/b50eb0714a1f5836e1d881067d6ca72c628c8100 |
|
1b1e12b
Factorize tests
vstinner Apr 7, 2021
| https://github.com/python/cpython/pull/25268/commits/1b1e12b4f90e2411a3d19885ba7f79ac297b0ceb |
|
80469c9
Fix tests
vstinner Apr 8, 2021
| https://github.com/python/cpython/pull/25268/commits/80469c901d8a2efde429fed38dd7dfc08c8ab84e |
|
Clear filters
| https://github.com/python/cpython/pull/25268/files |
| Please reload this page | https://github.com/python/cpython/pull/25268/files |
| Please reload this page | https://github.com/python/cpython/pull/25268/files |
|
functions.rst
| https://github.com/python/cpython/pull/25268/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
3.10.rst
| https://github.com/python/cpython/pull/25268/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c |
|
test_decorators.py
| https://github.com/python/cpython/pull/25268/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
|
test_descr.py
| https://github.com/python/cpython/pull/25268/files#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b |
|
test_pydoc.py
| https://github.com/python/cpython/pull/25268/files#diff-ae73926bd5950f3b4293553200949f1bcb58bae55d13d81b20d4d82d82912621 |
|
test_reprlib.py
| https://github.com/python/cpython/pull/25268/files#diff-2ccfcd381aba1c1087443b0b47d103c25f33eed2e15c53f09bfde07de657f9c4 |
|
2021-04-08-01-06-22.bpo-43682.eUn4p5.rst
| https://github.com/python/cpython/pull/25268/files#diff-44aef98a8faa5ad75e061ac929960cc7452c0225abb846440e95efc31f8118d7 |
|
funcobject.c
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
| Doc/library/functions.rst | https://github.com/python/cpython/pull/25268/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
View file
| https://github.com/python/cpython/blob/80469c901d8a2efde429fed38dd7dfc08c8ab84e/Doc/library/functions.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25268/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25268/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
| https://github.com/python/cpython/pull/25268/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
| https://github.com/python/cpython/pull/25268/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
|
| https://github.com/python/cpython/pull/25268/files#diff-6a7a07ac473fdd76734669b1b70626ad2176011129902f6add017810f54d0439 |
| Doc/whatsnew/3.10.rst | https://github.com/python/cpython/pull/25268/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c |
|
View file
| https://github.com/python/cpython/blob/80469c901d8a2efde429fed38dd7dfc08c8ab84e/Doc/whatsnew/3.10.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25268/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25268/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c |
|
| https://github.com/python/cpython/pull/25268/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c |
| Lib/test/test_decorators.py | https://github.com/python/cpython/pull/25268/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
|
View file
| https://github.com/python/cpython/blob/80469c901d8a2efde429fed38dd7dfc08c8ab84e/Lib/test/test_decorators.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25268/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25268/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
|
| https://github.com/python/cpython/pull/25268/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
|
| https://github.com/python/cpython/pull/25268/files#diff-9b0e146d781fe420af084a173b86ca0c980b7ef10c8905a8ff2dbf28305df11b |
| Lib/test/test_descr.py | https://github.com/python/cpython/pull/25268/files#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b |
|
View file
| https://github.com/python/cpython/blob/80469c901d8a2efde429fed38dd7dfc08c8ab84e/Lib/test/test_descr.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25268/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25268/files#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b |
|
| https://github.com/python/cpython/pull/25268/files#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b |
|
| https://github.com/python/cpython/pull/25268/files#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b |
|
| https://github.com/python/cpython/pull/25268/files#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b |
|
| https://github.com/python/cpython/pull/25268/files#diff-6b813570d02ae3544e7e0233ae21d647f8e2dc47486495557e8d16c80460e85b |
| Lib/test/test_pydoc.py | https://github.com/python/cpython/pull/25268/files#diff-ae73926bd5950f3b4293553200949f1bcb58bae55d13d81b20d4d82d82912621 |
|
View file
| https://github.com/python/cpython/blob/80469c901d8a2efde429fed38dd7dfc08c8ab84e/Lib/test/test_pydoc.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25268/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25268/files#diff-ae73926bd5950f3b4293553200949f1bcb58bae55d13d81b20d4d82d82912621 |
|
| https://github.com/python/cpython/pull/25268/files#diff-ae73926bd5950f3b4293553200949f1bcb58bae55d13d81b20d4d82d82912621 |
|
| https://github.com/python/cpython/pull/25268/files#diff-ae73926bd5950f3b4293553200949f1bcb58bae55d13d81b20d4d82d82912621 |
| Lib/test/test_reprlib.py | https://github.com/python/cpython/pull/25268/files#diff-2ccfcd381aba1c1087443b0b47d103c25f33eed2e15c53f09bfde07de657f9c4 |
|
View file
| https://github.com/python/cpython/blob/80469c901d8a2efde429fed38dd7dfc08c8ab84e/Lib/test/test_reprlib.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25268/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25268/files#diff-2ccfcd381aba1c1087443b0b47d103c25f33eed2e15c53f09bfde07de657f9c4 |
|
| https://github.com/python/cpython/pull/25268/files#diff-2ccfcd381aba1c1087443b0b47d103c25f33eed2e15c53f09bfde07de657f9c4 |
| Misc/NEWS.d/next/Core and Builtins/2021-04-08-01-06-22.bpo-43682.eUn4p5.rst | https://github.com/python/cpython/pull/25268/files#diff-44aef98a8faa5ad75e061ac929960cc7452c0225abb846440e95efc31f8118d7 |
|
View file
| https://github.com/python/cpython/blob/80469c901d8a2efde429fed38dd7dfc08c8ab84e/Misc/NEWS.d/next/Core%20and%20Builtins/2021-04-08-01-06-22.bpo-43682.eUn4p5.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25268/{{ revealButtonHref }} |
| Objects/funcobject.c | https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
View file
| https://github.com/python/cpython/blob/80469c901d8a2efde429fed38dd7dfc08c8ab84e/Objects/funcobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/25268/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jul 1, 2023 | https://github.com/python/cpython/pull/25268/files#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/files |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| https://github.com/python/cpython/pull/25268/files#diff-57bc77178b3d6f1010dd924722c87522f224d93bc341f0e46c0945094124d8f2 |
|
| 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 |