Title: bpo-32218: make `Flag` and `IntFlag` members iterable by ethanfurman · Pull Request #22221 · python/cpython · GitHub
Open Graph Title: bpo-32218: make `Flag` and `IntFlag` members iterable by ethanfurman · Pull Request #22221 · python/cpython
X Title: bpo-32218: make `Flag` and `IntFlag` members iterable by ethanfurman · Pull Request #22221 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: Member and member combinations can now be iterated over: class Color(Flag): RED = 1 BLUE = 2 GREEN = 4 purple = Color.RED | Color.BLUE list(purple) # [<Color.BLUE: 2>, <Color....
X Description: Member and member combinations can now be iterated over: class Color(Flag): RED = 1 BLUE = 2 GREEN = 4 purple = Color.RED | Color.BLUE list(purple) # [<Color.BLUE: 2>, &a...
Opengraph URL: https://github.com/python/cpython/pull/22221
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:bfa90abf-b935-fd25-5cd8-1c7d027c7031 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B7C8:10E65B:31E224A:44F177A:6A50CB34 |
| html-safe-nonce | 2eb945c0b7152c4b9f4314d1ac4fb9f948313d843d590ff641a7e936ff8a6e58 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0M4OjEwRTY1QjozMUUyMjRBOjQ0RjE3N0E6NkE1MENCMzQiLCJ2aXNpdG9yX2lkIjoiMjc2Njg0NjEyNDkwNTQ1OTczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | adda78d640f0c8e7162d0140a7ece94bf03ecda9b3954a71235aee977f8219ec |
| hovercard-subject-tag | pull_request:486060161 |
| 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/22221/commits |
| twitter:image | https://opengraph.githubassets.com/72a4ed4a4ed715bea0e3898578def97ddfa46c3e53177997fb7e91934fc650f7/python/cpython/pull/22221 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72a4ed4a4ed715bea0e3898578def97ddfa46c3e53177997fb7e91934fc650f7/python/cpython/pull/22221 |
| og:image:alt | Member and member combinations can now be iterated over: class Color(Flag): RED = 1 BLUE = 2 GREEN = 4 purple = Color.RED | Color.BLUE list(purple) # [<Color.BLUE: 2>, <Color.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ethanfurman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width