| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:02161a6e-4f44-080c-473c-c02d69462bb8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8A30:288515:306AD44:414421E:6A53C893 |
| html-safe-nonce | 8959fb442a75055db98651c0ff4a6b8bc8a75f0ee850ae66d328b499a3f0e475 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTMwOjI4ODUxNTozMDZBRDQ0OjQxNDQyMUU6NkE1M0M4OTMiLCJ2aXNpdG9yX2lkIjoiNTg0NDIzNzUxOTg2MTA0MTI5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 085e1f65efbca27e1fd61c9303a158580f62d315079f795c6a3d9c2166aa63c1 |
| hovercard-subject-tag | pull_request:2907323944 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/139985/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/da1c7e8a2ae1f60c33bbe115e088ee080908c3ca00aba831cb6058ec9116937d/python/cpython/pull/139985 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/da1c7e8a2ae1f60c33bbe115e088ee080908c3ca00aba831cb6058ec9116937d/python/cpython/pull/139985 |
| og:image:alt | This change adds the sunder names _generate_next_value_ and _missing_ to the __dir__ method of EnumType and Enum.
In Addition, The instance level sunder names _add_alias_ and _add_value_alias_ are ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | RafaelWO |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/139985#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139985 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F139985 |
|
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 |
| Reload | https://github.com/python/cpython/pull/139985 |
| Reload | https://github.com/python/cpython/pull/139985 |
| Reload | https://github.com/python/cpython/pull/139985 |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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 |
| ethanfurman | https://github.com/ethanfurman |
| python:main | https://github.com/python/cpython/tree/main |
| RafaelWO:fix/enum-dir | https://github.com/RafaelWO/cpython/tree/fix/enum-dir |
| Conversation | https://github.com/python/cpython/pull/139985 |
| Commits7 (7) | https://github.com/python/cpython/pull/139985/commits |
| Checks | https://github.com/python/cpython/pull/139985/checks |
| Files changed | https://github.com/python/cpython/pull/139985/files |
| gh-139398: Add supported sunder names to Enum __dir__ for REPL completions | https://github.com/python/cpython/pull/139985#top |
| ethanfurman | https://github.com/ethanfurman |
| python:main | https://github.com/python/cpython/tree/main |
| RafaelWO:fix/enum-dir | https://github.com/RafaelWO/cpython/tree/fix/enum-dir |
|
| https://github.com/RafaelWO |
| RafaelWO | https://github.com/RafaelWO |
| Oct 12, 2025 | https://github.com/python/cpython/pull/139985#issue-3506749587 |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| #139418 | https://github.com/python/cpython/pull/139418 |
| REPL does not show completions for some members of the Enum module #139398 | https://github.com/python/cpython/issues/139398 |
| https://cpython-previews--139985.org.readthedocs.build/ | https://cpython-previews--139985.org.readthedocs.build/ |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| https://github.com/RafaelWO |
| RafaelWO | https://github.com/RafaelWO |
| ethanfurman | https://github.com/ethanfurman |
| code owner | https://github.com/python/cpython/blob/d6dd64ac654898b4ce713c16c49eadb0c6e9d7dc/.github/CODEOWNERS#L446 |
| October 12, 2025 06:54 | https://github.com/python/cpython/pull/139985#event-20228857345 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Oct 12, 2025 | https://github.com/python/cpython/pull/139985#event-20228857609 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Oct 12, 2025
| https://github.com/python/cpython/pull/139985#ref-issue-3462194207 |
|
REPL does not show completions for some members of the Enum module
#139398
| https://github.com/python/cpython/issues/139398 |
| https://github.com/RafaelWO |
| RafaelWO | https://github.com/RafaelWO |
|
Oct 12, 2025
| https://github.com/python/cpython/pull/139985#pullrequestreview-3327932817 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139985/files |
| Lib/test/test_enum.py | https://github.com/python/cpython/pull/139985/files#diff-8467f9fbbff81abf26d87a8dbbf0e0c866157971948010e48cc73539251a9e4c |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
|
Oct 12, 2025
| https://github.com/python/cpython/pull/139985#pullrequestreview-3327939525 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139985/files |
| Misc/NEWS.d/next/Library/2025-10-12-08-46-26.gh-issue-139398.hESOMl.rst | https://github.com/python/cpython/pull/139985/files#diff-06b11e76e570bf002667de080e052ffb471cb5fb171a342a39b1e535819615b5 |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| RafaelWO | https://github.com/RafaelWO |
| October 12, 2025 09:41 | https://github.com/python/cpython/pull/139985#commits-pushed-27ac856 |
|
| https://github.com/RafaelWO |
|
| https://github.com/SimonGPrs |
| Add supported sunder names to Enum __dir__ | https://github.com/python/cpython/pull/139985/commits/27ac85647702e075bd670f247016a9fcd8723702 |
| 27ac856 | https://github.com/python/cpython/pull/139985/commits/27ac85647702e075bd670f247016a9fcd8723702 |
|
| https://github.com/RafaelWO |
| Improve printed output of test for Enum attributes | https://github.com/python/cpython/pull/139985/commits/0d9fedf0f8adccd72a4e268c183c939f9630ab46 |
| 0d9fedf | https://github.com/python/cpython/pull/139985/commits/0d9fedf0f8adccd72a4e268c183c939f9630ab46 |
| https://github.com/RafaelWO |
| RafaelWO | https://github.com/RafaelWO |
| force-pushed | https://github.com/python/cpython/compare/bafd9e3c804aa5708353ecc5035a9237232babdd..0d9fedf0f8adccd72a4e268c183c939f9630ab46 |
| bafd9e3 | https://github.com/python/cpython/commit/bafd9e3c804aa5708353ecc5035a9237232babdd |
| 0d9fedf | https://github.com/python/cpython/commit/0d9fedf0f8adccd72a4e268c183c939f9630ab46 |
|
Compare
| https://github.com/python/cpython/compare/bafd9e3c804aa5708353ecc5035a9237232babdd..0d9fedf0f8adccd72a4e268c183c939f9630ab46 |
| October 12, 2025 07:41 | https://github.com/python/cpython/pull/139985#event-20229001318 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
| Oct 12, 2025 | https://github.com/python/cpython/pull/139985#issuecomment-3394054319 |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
|
Oct 12, 2025
| https://github.com/python/cpython/pull/139985#pullrequestreview-3327970146 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139985/files/0d9fedf0f8adccd72a4e268c183c939f9630ab46 |
| Misc/NEWS.d/next/Library/2025-10-12-08-46-26.gh-issue-139398.hESOMl.rst | https://github.com/python/cpython/pull/139985/files/0d9fedf0f8adccd72a4e268c183c939f9630ab46#diff-06b11e76e570bf002667de080e052ffb471cb5fb171a342a39b1e535819615b5 |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
|
| https://github.com/RafaelWO |
| Fix case of enum directive in news entry | https://github.com/python/cpython/pull/139985/commits/1354d4639cd229682f54fd2695c3cd6c58619e81 |
| 1354d46 | https://github.com/python/cpython/pull/139985/commits/1354d4639cd229682f54fd2695c3cd6c58619e81 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Apr 30, 2026 | https://github.com/python/cpython/pull/139985#issuecomment-4355182259 |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
stale
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale |
| Apr 30, 2026 | https://github.com/python/cpython/pull/139985#event-25047457421 |
|
| https://github.com/RafaelWO |
| Fix unit test regarding Enum class attributes | https://github.com/python/cpython/pull/139985/commits/f30c11b0e9d87842c4a98013340b8db913028358 |
| f30c11b | https://github.com/python/cpython/pull/139985/commits/f30c11b0e9d87842c4a98013340b8db913028358 |
| https://github.com/apps/read-the-docs-community |
| read-the-docs-community | https://github.com/apps/read-the-docs-community |
| May 25, 2026 | https://github.com/python/cpython/pull/139985#issuecomment-4533011808 |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| cpython-previews | https://app.readthedocs.org/projects/cpython-previews/ |
| #32890968 | https://app.readthedocs.org/projects/cpython-previews/builds/32890968/ |
| 4d961de | https://github.com/python/cpython/commit/4d961de79f1eb7363c2fca80cc25c1b7cd010481 |
| main | https://cpython-previews.readthedocs.io/en/main/ |
| fbeafc0 | https://github.com/python/cpython/commit/fbeafc062e55a52ba7369c36be0b3eb34eabb560 |
| 🔍 Preview build | https://cpython-previews--139985.org.readthedocs.build/en/139985/ |
| glossary.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/glossary.html |
| c-api/threads.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/c-api/threads.html |
| library/ctypes.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/library/ctypes.html |
| library/enum.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/library/enum.html |
| library/lzma.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/library/lzma.html |
| library/pyexpat.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/library/pyexpat.html |
| library/traceback.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/library/traceback.html |
| reference/compound_stmts.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/reference/compound_stmts.html |
| reference/expressions.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/reference/expressions.html |
| using/configure.html | https://cpython-previews--139985.org.readthedocs.build/en/139985/using/configure.html |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| https://github.com/RafaelWO |
| RafaelWO | https://github.com/RafaelWO |
| May 25, 2026 | https://github.com/python/cpython/pull/139985#issuecomment-4533410004 |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| ethanfurman | https://github.com/ethanfurman |
| May 26, 2026 11:35 | https://github.com/python/cpython/pull/139985#commits-pushed-7ea0b4b |
|
| https://github.com/ethanfurman |
| Merge branch 'main' into fix/enum-dir | https://github.com/python/cpython/pull/139985/commits/7ea0b4bf78a2b7f69fcff9796753436f565c08ae |
| 7ea0b4b | https://github.com/python/cpython/pull/139985/commits/7ea0b4bf78a2b7f69fcff9796753436f565c08ae |
|
| https://github.com/ethanfurman |
| Merge branch 'main' into fix/enum-dir | https://github.com/python/cpython/pull/139985/commits/b8f8b08f18e993ab6b7623ce66e7a22cfea08784 |
| b8f8b08 | https://github.com/python/cpython/pull/139985/commits/b8f8b08f18e993ab6b7623ce66e7a22cfea08784 |
| https://github.com/RafaelWO |
| RafaelWO | https://github.com/RafaelWO |
| May 27, 2026 | https://github.com/python/cpython/pull/139985#issuecomment-4556585816 |
| @ethanfurman | https://github.com/ethanfurman |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
|
| https://github.com/ethanfurman |
| Merge branch 'main' into fix/enum-dir | https://github.com/python/cpython/pull/139985/commits/4d961de79f1eb7363c2fca80cc25c1b7cd010481 |
| 4d961de | https://github.com/python/cpython/pull/139985/commits/4d961de79f1eb7363c2fca80cc25c1b7cd010481 |
| https://github.com/ethanfurman |
| ethanfurman | https://github.com/ethanfurman |
|
May 28, 2026
| https://github.com/python/cpython/pull/139985#pullrequestreview-4384253326 |
|
View reviewed changes
| https://github.com/python/cpython/pull/139985/files/4d961de79f1eb7363c2fca80cc25c1b7cd010481 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| May 28, 2026 | https://github.com/python/cpython/pull/139985#event-26079976940 |
| https://github.com/ethanfurman |
| ethanfurman | https://github.com/ethanfurman |
| baf11a4 | https://github.com/python/cpython/commit/baf11a4e9a9d6542a1f3a891c670da36c89cbc96 |
| May 28, 2026 | https://github.com/python/cpython/pull/139985#event-26080046476 |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| May 28, 2026 | https://github.com/python/cpython/pull/139985#event-26080048763 |
| https://github.com/RafaelWO |
| RafaelWO | https://github.com/RafaelWO |
| June 20, 2026 10:06 | https://github.com/python/cpython/pull/139985#event-26984417419 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139985 |
|
| https://github.com/StanFromIreland |
|
StanFromIreland
| https://github.com/StanFromIreland |
|
| https://github.com/python/cpython/pull/139985/files/0d9fedf0f8adccd72a4e268c183c939f9630ab46 |
|
| https://github.com/ethanfurman |
|
ethanfurman
| https://github.com/ethanfurman |
|
| https://github.com/python/cpython/pull/139985/files/4d961de79f1eb7363c2fca80cc25c1b7cd010481 |
|
stale
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale |
| Please reload this page | https://github.com/python/cpython/pull/139985 |
|
| https://github.com/RafaelWO |
|
| https://github.com/StanFromIreland |
|
| https://github.com/ethanfurman |
|
| https://github.com/nazeerali4325-commits |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |