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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:bee6dbe2-4d97-7fd0-1feb-e2bc837ef374 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9930:24B6F:1BF7F7B:28C48C5:6A5639DE |
| html-safe-nonce | 8911e1268961b8db40cbabecd0fedaf923f8c24e839eb3f9983d835cb85da5ca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTMwOjI0QjZGOjFCRjdGN0I6MjhDNDhDNTo2QTU2MzlERSIsInZpc2l0b3JfaWQiOiI1MDI2MDg3MDU1MzMzOTMzNzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b47afd6e8da8a63fd470ed51943d493d64aa50d2daba3239ae1e4010fb282c5f |
| hovercard-subject-tag | pull_request:2096855813 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | 9d78ea552aac0685ca5f006d44f88166cbbf3bb96843f8da0c5a2c0b9908430b |
| 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 | 423b2fb76ac2b90de5ab599b7a76a0d2b2c83f24 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width