René's URL Explorer Experiment


Title: bpo-45535: Improve output of Enum ``dir()`` by AlexWaygood · Pull Request #29316 · python/cpython · GitHub

Open Graph Title: bpo-45535: Improve output of Enum ``dir()`` by AlexWaygood · Pull Request #29316 · python/cpython

X Title: bpo-45535: Improve output of Enum ``dir()`` by AlexWaygood · Pull Request #29316 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: This PR modifies the EnumType.__dir__() and Enum.__dir__() to ensure that user-defined methods and methods inherited from mixin classes always show up in the output of help(). This change also make...

X Description: This PR modifies the EnumType.__dir__() and Enum.__dir__() to ensure that user-defined methods and methods inherited from mixin classes always show up in the output of help(). This change also make...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:e90a99cb-3b71-d61d-e103-653168c8bab0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC2F6:3037EB:83C82B:B7A40F:696A5B2C
html-safe-nonce632cfbfaa6e4649e3f08e445f15530ab78f0f21e6d84ef85a0e626e798e113c1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkY2OjMwMzdFQjo4M0M4MkI6QjdBNDBGOjY5NkE1QjJDIiwidmlzaXRvcl9pZCI6IjgzNTYzOTE5NjMxODIzOTAwNjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac49fd49499d896a7de590ea9f7e1167d5f615fbd2ab4a98b9efbbf5ce2376ab9e
hovercard-subject-tagpull_request:769348432
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/29316/commits
twitter:imagehttps://opengraph.githubassets.com/a34b98a5bf51b93774c970c5e3df6fbc284c2281560aea868e9a332467d8ab08/python/cpython/pull/29316
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a34b98a5bf51b93774c970c5e3df6fbc284c2281560aea868e9a332467d8ab08/python/cpython/pull/29316
og:image:altThis PR modifies the EnumType.__dir__() and Enum.__dir__() to ensure that user-defined methods and methods inherited from mixin classes always show up in the output of help(). This change also make...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexWaygood
hostnamegithub.com
expected-hostnamegithub.com
None3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef
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
release63c426b30d262aba269ef14c40e3c817b384cd61
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/29316/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F29316%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F29316%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/29316/commits
Reloadhttps://github.com/python/cpython/pull/29316/commits
Reloadhttps://github.com/python/cpython/pull/29316/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/29316/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/29316/commits
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 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
ethanfurmanhttps://github.com/ethanfurman
python:mainhttps://github.com/python/cpython/tree/main
AlexWaygood:Enum-dir-improvementshttps://github.com/AlexWaygood/cpython/tree/Enum-dir-improvements
Conversationhttps://github.com/python/cpython/pull/29316
Commits13 (13)https://github.com/python/cpython/pull/29316/commits
Checkshttps://github.com/python/cpython/pull/29316/checks
Files changedhttps://github.com/python/cpython/pull/29316/files
bpo-45535: Improve output of Enum dir()https://github.com/python/cpython/pull/29316/commits#top
ethanfurmanhttps://github.com/ethanfurman
python:mainhttps://github.com/python/cpython/tree/main
AlexWaygood:Enum-dir-improvementshttps://github.com/AlexWaygood/cpython/tree/Enum-dir-improvements
bpo-45535: Improve output of Enum ``dir()``https://github.com/python/cpython/pull/29316/commits/0ed36bc3068f9772f5ba1534ab6863ef3df10990
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
0ed36bchttps://github.com/python/cpython/pull/29316/commits/0ed36bc3068f9772f5ba1534ab6863ef3df10990
https://github.com/python/cpython/tree/0ed36bc3068f9772f5ba1534ab6863ef3df10990
Simplify Enum.__dir__ slightlyhttps://github.com/python/cpython/pull/29316/commits/bb4c147962ff573b2daa77b3aa8aba25baaa7f03
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
bb4c147https://github.com/python/cpython/pull/29316/commits/bb4c147962ff573b2daa77b3aa8aba25baaa7f03
https://github.com/python/cpython/tree/bb4c147962ff573b2daa77b3aa8aba25baaa7f03
Simplify diff from upstream a littlehttps://github.com/python/cpython/pull/29316/commits/526d88b1264a516ae20a4fe7b0f0231289dd5e3c
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
526d88bhttps://github.com/python/cpython/pull/29316/commits/526d88b1264a516ae20a4fe7b0f0231289dd5e3c
https://github.com/python/cpython/tree/526d88b1264a516ae20a4fe7b0f0231289dd5e3c
Update enum.pyhttps://github.com/python/cpython/pull/29316/commits/bd30c46ee6784975a8c3fce271218945e143c2de
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
bd30c46https://github.com/python/cpython/pull/29316/commits/bd30c46ee6784975a8c3fce271218945e143c2de
https://github.com/python/cpython/tree/bd30c46ee6784975a8c3fce271218945e143c2de
Further simplify diffhttps://github.com/python/cpython/pull/29316/commits/782f3c7f337e9fc6a53d7254d60643a0028ea20d
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
782f3c7https://github.com/python/cpython/pull/29316/commits/782f3c7f337e9fc6a53d7254d60643a0028ea20d
https://github.com/python/cpython/tree/782f3c7f337e9fc6a53d7254d60643a0028ea20d
Merge branch 'Enum-dir-improvements' of https://github.com/AlexWaygood/cpython into Enum-dir-improvementshttps://github.com/python/cpython/pull/29316/commits/24e89684e6aa52d72eafc80bb7737f5c8b1e75e2
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
24e8968https://github.com/python/cpython/pull/29316/commits/24e89684e6aa52d72eafc80bb7737f5c8b1e75e2
https://github.com/python/cpython/tree/24e89684e6aa52d72eafc80bb7737f5c8b1e75e2
Lookup via __dict__ for non-EnumType classeshttps://github.com/python/cpython/pull/29316/commits/6dc0ec057418e7286a9d51cb239c9fabbdc2df35
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
6dc0ec0https://github.com/python/cpython/pull/29316/commits/6dc0ec057418e7286a9d51cb239c9fabbdc2df35
https://github.com/python/cpython/tree/6dc0ec057418e7286a9d51cb239c9fabbdc2df35
Small tweakshttps://github.com/python/cpython/pull/29316/commits/f5f80ad908a8ab893d984a6dc656ee401e77cdf3
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
f5f80adhttps://github.com/python/cpython/pull/29316/commits/f5f80ad908a8ab893d984a6dc656ee401e77cdf3
https://github.com/python/cpython/tree/f5f80ad908a8ab893d984a6dc656ee401e77cdf3
More tweakshttps://github.com/python/cpython/pull/29316/commits/6d182a09fa6c3e3fbbdc1930b9684d0c3d6af024
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
6d182a0https://github.com/python/cpython/pull/29316/commits/6d182a09fa6c3e3fbbdc1930b9684d0c3d6af024
https://github.com/python/cpython/tree/6d182a09fa6c3e3fbbdc1930b9684d0c3d6af024
Improve tests w.r.t. classmethodshttps://github.com/python/cpython/pull/29316/commits/6b22112609db48a9440df418642cf18c69e7c580
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
6b22112https://github.com/python/cpython/pull/29316/commits/6b22112609db48a9440df418642cf18c69e7c580
https://github.com/python/cpython/tree/6b22112609db48a9440df418642cf18c69e7c580
More test tweakshttps://github.com/python/cpython/pull/29316/commits/baa84775938fe5507d10468f8ecfdb6d5f3e5bcb
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
baa8477https://github.com/python/cpython/pull/29316/commits/baa84775938fe5507d10468f8ecfdb6d5f3e5bcb
https://github.com/python/cpython/tree/baa84775938fe5507d10468f8ecfdb6d5f3e5bcb
Another small tweakhttps://github.com/python/cpython/pull/29316/commits/f307b22b9647f8182984b450a8729c01d5c28052
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
f307b22https://github.com/python/cpython/pull/29316/commits/f307b22b9647f8182984b450a8729c01d5c28052
https://github.com/python/cpython/tree/f307b22b9647f8182984b450a8729c01d5c28052
Only use a single sentinelhttps://github.com/python/cpython/pull/29316/commits/ce022300c648276286f7d786a9c5352829a95587
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/python/cpython/commits?author=AlexWaygood
ce02230https://github.com/python/cpython/pull/29316/commits/ce022300c648276286f7d786a9c5352829a95587
https://github.com/python/cpython/tree/ce022300c648276286f7d786a9c5352829a95587
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.