Title: Generate `__replace__` method on `Struct` types by jcrist · Pull Request #747 · msgspec/msgspec · GitHub
Open Graph Title: Generate `__replace__` method on `Struct` types by jcrist · Pull Request #747 · msgspec/msgspec
X Title: Generate `__replace__` method on `Struct` types by jcrist · Pull Request #747 · msgspec/msgspec
Description: A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML - Generate `__replace__` method on `Struct` types by jcrist · Pull Request #747 · msgspec/msgspec
Open Graph Description: This lets structs work with copy.replace (added in Python 3.13). Our own msgspec.structs.replace also continues to work. Fixes #713.
X Description: This lets structs work with copy.replace (added in Python 3.13). Our own msgspec.structs.replace also continues to work. Fixes #713.
Opengraph URL: https://github.com/msgspec/msgspec/pull/747
X: @github
Domain: github.com
| 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:7163a372-9133-e3b5-d3e8-1eca3b462adb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DB22:27F4E1:1261539:18ED04E:6A4D6F3D |
| html-safe-nonce | 5c44ab9f4bb23ab68daa1b318c266716b4b38a237272abac74ccb3933bdbe43d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjIyOjI3RjRFMToxMjYxNTM5OjE4RUQwNEU6NkE0RDZGM0QiLCJ2aXNpdG9yX2lkIjoiOTIyMTEyMjAxNjk0MTAxMDc0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 03225cfe26213d6111fefa4bddf5aacb71d65e647c32c8e2b6ce17ad335ef969 |
| hovercard-subject-tag | pull_request:2123727588 |
| 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/_view_fragments/voltron/pull_requests/show/msgspec/msgspec/747/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c0e27239279a956e37c5a700e3a5e45cb99d8a67c7ecc3c21701961a29bacb3e/msgspec/msgspec/pull/747 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c0e27239279a956e37c5a700e3a5e45cb99d8a67c7ecc3c21701961a29bacb3e/msgspec/msgspec/pull/747 |
| og:image:alt | This lets structs work with copy.replace (added in Python 3.13). Our own msgspec.structs.replace also continues to work. Fixes #713. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jcrist |
| hostname | github.com |
| expected-hostname | github.com |
| None | c78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e |
| turbo-cache-control | no-cache |
| go-import | github.com/msgspec/msgspec git https://github.com/msgspec/msgspec.git |
| octolytics-dimension-user_id | 287455683 |
| octolytics-dimension-user_login | msgspec |
| octolytics-dimension-repository_id | 332952543 |
| octolytics-dimension-repository_nwo | msgspec/msgspec |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 332952543 |
| octolytics-dimension-repository_network_root_nwo | msgspec/msgspec |
| 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 | 399fff412f48461d435721c009efc17ea44be72f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width