Title: [3.10] bpo-44342: [Enum] changed pickling from by-value to by-name (GH-26658) by miss-islington · Pull Request #26660 · python/cpython · GitHub
Open Graph Title: [3.10] bpo-44342: [Enum] changed pickling from by-value to by-name (GH-26658) by miss-islington · Pull Request #26660 · python/cpython
X Title: [3.10] bpo-44342: [Enum] changed pickling from by-value to by-name (GH-26658) by miss-islington · Pull Request #26660 · python/cpython
Description: by-value lookups could fail on complex enums, necessitating a check for reduce and possibly sabotaging the final enum; by-name lookups should never fail, and sabotaging is no longer necessary for class-based enum creation. (cherry picked from commit 62f1d2b) Co-authored-by: Ethan Furman ethan@stoneleaf.us https://bugs.python.org/issue44342
Open Graph Description: by-value lookups could fail on complex enums, necessitating a check for reduce and possibly sabotaging the final enum; by-name lookups should never fail, and sabotaging is no longer necessary for c...
X Description: by-value lookups could fail on complex enums, necessitating a check for reduce and possibly sabotaging the final enum; by-name lookups should never fail, and sabotaging is no longer necessary for c...
Opengraph URL: https://github.com/python/cpython/pull/26660
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5af02bd1-feb6-f9ae-340c-0e195cc87723 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D5A2:2BBCB0:488064:6357B0:696AA981 |
| html-safe-nonce | 222a6ac4a48d92ec8e3705d235b3d50d619db3f7bbb61b42defed4e8bc7021ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUEyOjJCQkNCMDo0ODgwNjQ6NjM1N0IwOjY5NkFBOTgxIiwidmlzaXRvcl9pZCI6IjY3ODQxNDU4Nzc5Nzk4MDE5ODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dbab4b3db703d1a6dbc6b05e0d950243cdb253cdeaecf3b20d036ff3bafd3c95 |
| hovercard-subject-tag | pull_request:667498841 |
| 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/26660/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | by-value lookups could fail on complex enums, necessitating a check for reduce and possibly sabotaging the final enum; by-name lookups should never fail, and sabotaging is no longer necessary for c... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| 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 | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width