Title: gh-124176: `create_autospec` must not change how dataclass defaults are mocked by sobolevn · Pull Request #124724 · python/cpython · GitHub
Open Graph Title: gh-124176: `create_autospec` must not change how dataclass defaults are mocked by sobolevn · Pull Request #124724 · python/cpython
X Title: gh-124176: `create_autospec` must not change how dataclass defaults are mocked by sobolevn · Pull Request #124724 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: See #124176 (comment) @ncoghlan found that my change introduced a behavior change (or even a regression) to dataclasses with defaults. Before my change create_autospec would use the default's t...
X Description: See #124176 (comment) @ncoghlan found that my change introduced a behavior change (or even a regression) to dataclasses with defaults. Before my change create_autospec would use the default'...
Opengraph URL: https://github.com/python/cpython/pull/124724
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:7b0d9321-9948-ecf7-eaf0-973c54a72bab |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 83B2:31BCA3:117A960:17A6E0B:6A5711F2 |
| html-safe-nonce | 1c009f2dd102684466ea3bdbd019d1b770b7b2dd94cc2ceae32b024ae1ede28b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0IyOjMxQkNBMzoxMTdBOTYwOjE3QTZFMEI6NkE1NzExRjIiLCJ2aXNpdG9yX2lkIjoiNjM1NTk3NTI4Mzk3MjQ0NDY1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 137ca8c4fdf62fc6d06745a620721262f41c7a8b9ae285cb8ae31be1bb59deb8 |
| hovercard-subject-tag | pull_request:2096855813 |
| 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/124724/commits |
| twitter:image | https://opengraph.githubassets.com/c9812f905e16caf1d3d02c41c37a272565cdd85b9ece431cabbe7864b285b135/python/cpython/pull/124724 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9812f905e16caf1d3d02c41c37a272565cdd85b9ece431cabbe7864b285b135/python/cpython/pull/124724 |
| og:image:alt | See #124176 (comment) @ncoghlan found that my change introduced a behavior change (or even a regression) to dataclasses with defaults. Before my change create_autospec would use the default's t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sobolevn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width