René's URL Explorer Experiment


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) # [&lt;Color.BLUE: 2&gt;, &a...

Opengraph URL: https://github.com/python/cpython/pull/22221

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7579b418-7984-73a0-0397-993673699c6c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE61A:C8AE2:8EAA5C4:C7D3A27:6A508D8F
html-safe-nonce038da28891029686feec9ca508bd6364679abbacbf44fcca5c420769cbd87444
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjFBOkM4QUUyOjhFQUE1QzQ6QzdEM0EyNzo2QTUwOEQ4RiIsInZpc2l0b3JfaWQiOiI5MTk0MTkxNTQwMDc2MjUxMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac14dd3ad8d68ab6e733684509adbab69034259a3c8a6075f23ac62d1dcc720e8a
hovercard-subject-tagpull_request:486060161
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/22221/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/72a4ed4a4ed715bea0e3898578def97ddfa46c3e53177997fb7e91934fc650f7/python/cpython/pull/22221
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/72a4ed4a4ed715bea0e3898578def97ddfa46c3e53177997fb7e91934fc650f7/python/cpython/pull/22221
og:image:altMember 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameethanfurman
hostnamegithub.com
expected-hostnamegithub.com
Noned6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/22221#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22221
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22221
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/22221
Reloadhttps://github.com/python/cpython/pull/22221
Reloadhttps://github.com/python/cpython/pull/22221
Please reload this pagehttps://github.com/python/cpython/pull/22221
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/22221
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
ethanfurmanhttps://github.com/ethanfurman
python:masterhttps://github.com/python/cpython/tree/master
ethanfurman:issue_32218-enum_iterhttps://github.com/ethanfurman/cpython/tree/issue_32218-enum_iter
Conversationhttps://github.com/python/cpython/pull/22221
Commits1 (1)https://github.com/python/cpython/pull/22221/commits
Checkshttps://github.com/python/cpython/pull/22221/checks
Files changedhttps://github.com/python/cpython/pull/22221/files
bpo-32218: make Flag and IntFlag members iterablehttps://github.com/python/cpython/pull/22221#top
ethanfurmanhttps://github.com/ethanfurman
python:masterhttps://github.com/python/cpython/tree/master
ethanfurman:issue_32218-enum_iterhttps://github.com/ethanfurman/cpython/tree/issue_32218-enum_iter
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
Sep 12, 2020https://github.com/python/cpython/pull/22221#issue-700418676
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://bugs.python.org/issue32218https://bugs.python.org/issue32218
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/ethanfurman
make Flag and IntFlag members iterablehttps://github.com/python/cpython/pull/22221/commits/381e6b73e5100895d5e052ed1d2719962ddb376d
381e6b7https://github.com/python/cpython/pull/22221/commits/381e6b73e5100895d5e052ed1d2719962ddb376d
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Sep 12, 2020https://github.com/python/cpython/pull/22221#event-3759888584
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 12, 2020https://github.com/python/cpython/pull/22221#event-3759888615
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
Sep 12, 2020https://github.com/python/cpython/pull/22221#event-3759888711
https://github.com/corona10
corona10https://github.com/corona10
Sep 13, 2020 https://github.com/python/cpython/pull/22221#pullrequestreview-487277324
View reviewed changes https://github.com/python/cpython/pull/22221/files/381e6b73e5100895d5e052ed1d2719962ddb376d
corona10https://github.com/corona10
https://github.com/python/cpython/pull/22221#pullrequestreview-487277324
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
Sep 13, 2020https://github.com/python/cpython/pull/22221#event-3760677028
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
September 13, 2020 18:19https://github.com/python/cpython/pull/22221#event-3760677032
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
September 13, 2020 18:20https://github.com/python/cpython/pull/22221#event-3760677085
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
Sep 16, 2020https://github.com/python/cpython/pull/22221#event-3774781788
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
Sep 16, 2020https://github.com/python/cpython/pull/22221#issuecomment-693625245
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
7219e27https://github.com/python/cpython/commit/7219e27087baaa8a5693b5bef1b1357bddbffa53
Sep 16, 2020https://github.com/python/cpython/pull/22221#event-3774851536
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 16, 2020https://github.com/python/cpython/pull/22221#event-3774851727
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
September 17, 2020 00:34https://github.com/python/cpython/pull/22221#event-3775566684
https://github.com/belm0
belm0https://github.com/belm0
Oct 11, 2020https://github.com/python/cpython/pull/22221#issuecomment-706706235
https://bugs.python.org/issue38250https://bugs.python.org/issue38250
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/belm0
belm0https://github.com/belm0
Oct 11, 2020 https://github.com/python/cpython/pull/22221#pullrequestreview-506180591
View reviewed changes https://github.com/python/cpython/pull/22221/files/381e6b73e5100895d5e052ed1d2719962ddb376d
Doc/library/enum.rsthttps://github.com/python/cpython/pull/22221/files/381e6b73e5100895d5e052ed1d2719962ddb376d#diff-4cebe6df5185cf2ebe9799ee15c1d84d0152462b1f79969d36e0e72abdc3335d
belm0https://github.com/belm0
Oct 11, 2020https://github.com/python/cpython/pull/22221#discussion_r502917253
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
ethanfurmanhttps://github.com/ethanfurman
Oct 12, 2020https://github.com/python/cpython/pull/22221#discussion_r502990893
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
Lib/enum.pyhttps://github.com/python/cpython/pull/22221/files/381e6b73e5100895d5e052ed1d2719962ddb376d#diff-e5dd6e444e4e6c2cdeb8edf271d057f9da52f7b406dcd8b655dc396fb013bd03
belm0https://github.com/belm0
Oct 11, 2020https://github.com/python/cpython/pull/22221#discussion_r502920109
Please reload this pagehttps://github.com/python/cpython/pull/22221
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
belm0https://github.com/belm0
Oct 11, 2020https://github.com/python/cpython/pull/22221#discussion_r502970606
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
ethanfurmanhttps://github.com/ethanfurman
Oct 12, 2020https://github.com/python/cpython/pull/22221#discussion_r502991121
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
belm0https://github.com/belm0
Oct 13, 2020https://github.com/python/cpython/pull/22221#discussion_r503760705
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
Lib/enum.pyhttps://github.com/python/cpython/pull/22221/files/381e6b73e5100895d5e052ed1d2719962ddb376d#diff-e5dd6e444e4e6c2cdeb8edf271d057f9da52f7b406dcd8b655dc396fb013bd03
belm0https://github.com/belm0
Oct 11, 2020https://github.com/python/cpython/pull/22221#discussion_r502920823
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
ethanfurmanhttps://github.com/ethanfurman
Oct 12, 2020https://github.com/python/cpython/pull/22221#discussion_r502992975
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
belm0https://github.com/belm0
Oct 13, 2020https://github.com/python/cpython/pull/22221#discussion_r503787466
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/belm0
belm0https://github.com/belm0
Oct 11, 2020https://github.com/python/cpython/pull/22221#issuecomment-706776441
Please reload this pagehttps://github.com/python/cpython/pull/22221
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/ethanfurman
ethanfurmanhttps://github.com/ethanfurman
Oct 12, 2020https://github.com/python/cpython/pull/22221#issuecomment-706800508
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/belm0
belm0https://github.com/belm0
Oct 15, 2020https://github.com/python/cpython/pull/22221#issuecomment-709311169
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/belm0
belm0https://github.com/belm0
Oct 15, 2020https://github.com/python/cpython/pull/22221#issuecomment-709320885
Please reload this pagehttps://github.com/python/cpython/pull/22221
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/belm0
belm0https://github.com/belm0
Oct 17, 2020https://github.com/python/cpython/pull/22221#issuecomment-710734745
Please reload this pagehttps://github.com/python/cpython/pull/22221
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/belm0
belm0https://github.com/belm0
Oct 17, 2020https://github.com/python/cpython/pull/22221#issuecomment-710736924
Please reload this pagehttps://github.com/python/cpython/pull/22221
Please reload this pagehttps://github.com/python/cpython/pull/22221
xzy3https://github.com/xzy3
Oct 18, 2020 https://github.com/python/cpython/pull/22221#ref-commit-a940338
https://github.com/ethanfurman
https://github.com/xzy3-cdc
Enum: makehttps://github.com/xzy3/cpython/commit/a940338a4cbe59aae5519c8afced7aa691961e18
Flaghttps://github.com/xzy3/cpython/commit/a940338a4cbe59aae5519c8afced7aa691961e18
andhttps://github.com/xzy3/cpython/commit/a940338a4cbe59aae5519c8afced7aa691961e18
IntFlaghttps://github.com/xzy3/cpython/commit/a940338a4cbe59aae5519c8afced7aa691961e18
members iterable (https://github.com/xzy3/cpython/commit/a940338a4cbe59aae5519c8afced7aa691961e18
pythonGH-22221https://github.com/python/cpython/pull/22221
)https://github.com/xzy3/cpython/commit/a940338a4cbe59aae5519c8afced7aa691961e18
a940338https://github.com/xzy3/cpython/commit/a940338a4cbe59aae5519c8afced7aa691961e18
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
May 18, 2022 https://github.com/python/cpython/pull/22221#ref-pullrequest-1240204326
enum: More changes for 3.11 python/typeshed#7862 https://github.com/python/typeshed/pull/7862
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22221
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/python/cpython/pull/22221/files/381e6b73e5100895d5e052ed1d2719962ddb376d
https://github.com/belm0
belm0 https://github.com/belm0
https://github.com/python/cpython/pull/22221/files/381e6b73e5100895d5e052ed1d2719962ddb376d
https://github.com/ethanfurman
ethanfurman https://github.com/ethanfurman
Please reload this pagehttps://github.com/python/cpython/pull/22221
https://github.com/ethanfurman
https://github.com/belm0
https://github.com/corona10
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.