Title: bpo-46764: Fix wrapping bound method with @classmethod by msullivan · Pull Request #31367 · python/cpython · GitHub
Open Graph Title: bpo-46764: Fix wrapping bound method with @classmethod by msullivan · Pull Request #31367 · python/cpython
X Title: bpo-46764: Fix wrapping bound method with @classmethod by msullivan · Pull Request #31367 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Since #8405, @classmethod now has special case behavior to call its argument's tp_descr_get if it exists. This breaks wrapping a bound method with it, since bound method's have a do-nothing...
X Description: Since #8405, @classmethod now has special case behavior to call its argument's tp_descr_get if it exists. This breaks wrapping a bound method with it, since bound method's have a do...
Opengraph URL: https://github.com/python/cpython/pull/31367
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:b150e4ff-6a24-7c35-f5dd-044ced0d04ba |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A41A:6CE0D:11F1DC:19DA49:6A5F5ACD |
| html-safe-nonce | 5fc3769b12494371b9c1ffb1943b4ad8fc2ca3c2907df2b51c22c427b6d5f925 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDFBOjZDRTBEOjExRjFEQzoxOURBNDk6NkE1RjVBQ0QiLCJ2aXNpdG9yX2lkIjoiNDQ4NTc5OTA2NzM1OTIxODY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1ca58169479ae43ef24cb1557a326fcf9b26ef869018b83c5e774862665c2f86 |
| hovercard-subject-tag | pull_request:853929805 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/31367/commits |
| twitter:image | https://opengraph.githubassets.com/951113a1c6177e98f8b4eb09bccbed350598e68aa4bc46be9900afc95a41e863/python/cpython/pull/31367 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/951113a1c6177e98f8b4eb09bccbed350598e68aa4bc46be9900afc95a41e863/python/cpython/pull/31367 |
| og:image:alt | Since #8405, @classmethod now has special case behavior to call its argument's tp_descr_get if it exists. This breaks wrapping a bound method with it, since bound method's have a do-nothing... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | msullivan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a0797c11799dbfd7df57fa3de31c7ea3a4c4bd055eb1a0427a5cde1d4d7ba3f |
| 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 | b099d96da147aea31036cd16b2fba0083a6defe4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width