Title: gh-93820: Fix copy() regression in enum.Flag by tiran · Pull Request #93876 · python/cpython · GitHub
Open Graph Title: gh-93820: Fix copy() regression in enum.Flag by tiran · Pull Request #93876 · python/cpython
X Title: gh-93820: Fix copy() regression in enum.Flag by tiran · Pull Request #93876 · python/cpython
Description: GH-26658 introduced a regression in copy / pickle protocol for combined enum.Flags. copy.copy(re.A | re.I) would fail with AttributeError: ASCII|IGNORECASE. enum.Flag now has a __reduce_ex__() method that reduces flags by combined value, not by combined name. Automerge-Triggered-By: GH:tiran
Open Graph Description: GH-26658 introduced a regression in copy / pickle protocol for combined enum.Flags. copy.copy(re.A | re.I) would fail with AttributeError: ASCII|IGNORECASE. enum.Flag now has a __reduce_ex__() meth...
X Description: GH-26658 introduced a regression in copy / pickle protocol for combined enum.Flags. copy.copy(re.A | re.I) would fail with AttributeError: ASCII|IGNORECASE. enum.Flag now has a __reduce_ex__() meth...
Opengraph URL: https://github.com/python/cpython/pull/93876
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3893b31f-aa55-bbd0-7d7a-53bb3ebca76e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AEB8:A74F2:125CFA7:187B087:6969994F |
| html-safe-nonce | 0f76b31aa8c817876f5180536602a165b690b5c81f153a78e6d65c3407a13853 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUI4OkE3NEYyOjEyNUNGQTc6MTg3QjA4Nzo2OTY5OTk0RiIsInZpc2l0b3JfaWQiOiIzNTk3OTU4NDMxMzUyOTIwMzk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3354bdf435b6390e6cb31f1db86c251db1e3380106a0f0abad2a05dbb59978ff |
| hovercard-subject-tag | pull_request:968538714 |
| 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/93876/files |
| twitter:image | https://avatars.githubusercontent.com/u/444071?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/444071?s=400&v=4 |
| og:image:alt | GH-26658 introduced a regression in copy / pickle protocol for combined enum.Flags. copy.copy(re.A | re.I) would fail with AttributeError: ASCII|IGNORECASE. enum.Flag now has a __reduce_ex__() meth... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width