René's URL Explorer Experiment


Title: bpo-40066: Enum global repr doctest by ethanfurman · Pull Request #25116 · python/cpython · GitHub

Open Graph Title: bpo-40066: Enum global repr doctest by ethanfurman · Pull Request #25116 · python/cpython

X Title: bpo-40066: Enum global repr doctest by ethanfurman · Pull Request #25116 · python/cpython

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

Open Graph Description: https://bugs.python.org/issue40066

X Description: https://bugs.python.org/issue40066

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:86ab670e-0aae-7df2-1e5e-403784be4b16
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id92A0:357CBB:493927:6339EE:6969DE64
html-safe-nonce9918c0a940746bfcc2173b43924fc177fd81ee66cb1fd7ec6087e94fea28e146
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkEwOjM1N0NCQjo0OTM5Mjc6NjMzOUVFOjY5NjlERTY0IiwidmlzaXRvcl9pZCI6IjI3NTE1ODM2Mzc2MDgxOTM2MzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3569f681804989907cc5c706c49e71c925c65983b5b4f720d83b1df419ab9e8b
hovercard-subject-tagpull_request:605850871
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/25116/commits
twitter:imagehttps://opengraph.githubassets.com/f669b55b996333bfaf5f9a5cb2e80d19b3fd8014f4de643643cdb7029f46dfa9/python/cpython/pull/25116
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f669b55b996333bfaf5f9a5cb2e80d19b3fd8014f4de643643cdb7029f46dfa9/python/cpython/pull/25116
og:image:althttps://bugs.python.org/issue40066
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameethanfurman
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/25116/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F25116%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%2F25116%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/25116/commits
Reloadhttps://github.com/python/cpython/pull/25116/commits
Reloadhttps://github.com/python/cpython/pull/25116/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/25116/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/25116/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:masterhttps://github.com/python/cpython/tree/master
ethanfurman:enum-global_repr-doctesthttps://github.com/ethanfurman/cpython/tree/enum-global_repr-doctest
Conversationhttps://github.com/python/cpython/pull/25116
Commits21 (21)https://github.com/python/cpython/pull/25116/commits
Checkshttps://github.com/python/cpython/pull/25116/checks
Files changedhttps://github.com/python/cpython/pull/25116/files
bpo-40066: Enum global repr doctesthttps://github.com/python/cpython/pull/25116/commits#top
ethanfurmanhttps://github.com/ethanfurman
python:masterhttps://github.com/python/cpython/tree/master
ethanfurman:enum-global_repr-doctesthttps://github.com/ethanfurman/cpython/tree/enum-global_repr-doctest
add new repr and str for converted Int-Enums/Flagshttps://github.com/python/cpython/pull/25116/commits/aa436ed704bef030372b1307f4664af6fd719c8b
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
aa436edhttps://github.com/python/cpython/pull/25116/commits/aa436ed704bef030372b1307f4664af6fd719c8b
https://github.com/python/cpython/tree/aa436ed704bef030372b1307f4664af6fd719c8b
wiphttps://github.com/python/cpython/pull/25116/commits/db0386fbccc6974a1c3b1df7a442eac1fe6360a7
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
db0386fhttps://github.com/python/cpython/pull/25116/commits/db0386fbccc6974a1c3b1df7a442eac1fe6360a7
https://github.com/python/cpython/tree/db0386fbccc6974a1c3b1df7a442eac1fe6360a7
make Enum.__str__ print name or valuehttps://github.com/python/cpython/pull/25116/commits/33cfa208e3b2ddf8d10f7433769e27dede90f5a4
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
33cfa20https://github.com/python/cpython/pull/25116/commits/33cfa208e3b2ddf8d10f7433769e27dede90f5a4
https://github.com/python/cpython/tree/33cfa208e3b2ddf8d10f7433769e27dede90f5a4
add news entryhttps://github.com/python/cpython/pull/25116/commits/bdffc7dac2769e928bf5c4de1cdff4b6f57a4ad9
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
bdffc7dhttps://github.com/python/cpython/pull/25116/commits/bdffc7dac2769e928bf5c4de1cdff4b6f57a4ad9
https://github.com/python/cpython/tree/bdffc7dac2769e928bf5c4de1cdff4b6f57a4ad9
fix tests that checked Enum str()https://github.com/python/cpython/pull/25116/commits/1bd8a6a60008b1620e2c2afdeb3f28a7dae1c830
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
1bd8a6ahttps://github.com/python/cpython/pull/25116/commits/1bd8a6a60008b1620e2c2afdeb3f28a7dae1c830
https://github.com/python/cpython/tree/1bd8a6a60008b1620e2c2afdeb3f28a7dae1c830
wiphttps://github.com/python/cpython/pull/25116/commits/dfe01a12141cab3a8e8955278d837e3820c033c7
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
dfe01a1https://github.com/python/cpython/pull/25116/commits/dfe01a12141cab3a8e8955278d837e3820c033c7
https://github.com/python/cpython/tree/dfe01a12141cab3a8e8955278d837e3820c033c7
fix format for global string overridehttps://github.com/python/cpython/pull/25116/commits/2a5ace6843b1d61aabbdf09ddf27a7e91807b03f
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
2a5ace6https://github.com/python/cpython/pull/25116/commits/2a5ace6843b1d61aabbdf09ddf27a7e91807b03f
https://github.com/python/cpython/tree/2a5ace6843b1d61aabbdf09ddf27a7e91807b03f
update docs with new stdlib enum reprs and strshttps://github.com/python/cpython/pull/25116/commits/722474d0066f326b74604683da257c02422cac03
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
722474dhttps://github.com/python/cpython/pull/25116/commits/722474d0066f326b74604683da257c02422cac03
https://github.com/python/cpython/tree/722474d0066f326b74604683da257c02422cac03
plain Enum has updated str() and repr()https://github.com/python/cpython/pull/25116/commits/49a46d0d95d11bb8dc03255d2019fed632ca82a2
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
49a46d0https://github.com/python/cpython/pull/25116/commits/49a46d0d95d11bb8dc03255d2019fed632ca82a2
https://github.com/python/cpython/tree/49a46d0d95d11bb8dc03255d2019fed632ca82a2
_stdlib_enum -> global_enumhttps://github.com/python/cpython/pull/25116/commits/e01379cef9da6612c6417644e24a026d58979861
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
e01379chttps://github.com/python/cpython/pull/25116/commits/e01379cef9da6612c6417644e24a026d58979861
https://github.com/python/cpython/tree/e01379cef9da6612c6417644e24a026d58979861
fix pydoc and unicode testshttps://github.com/python/cpython/pull/25116/commits/893c636560d6234d10a05f076316f11d965a8b72
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
893c636https://github.com/python/cpython/pull/25116/commits/893c636560d6234d10a05f076316f11d965a8b72
https://github.com/python/cpython/tree/893c636560d6234d10a05f076316f11d965a8b72
fix white spacehttps://github.com/python/cpython/pull/25116/commits/6ffaf771c01fe2cbc3ca47425b3d210ca3e4b666
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
6ffaf77https://github.com/python/cpython/pull/25116/commits/6ffaf771c01fe2cbc3ca47425b3d210ca3e4b666
https://github.com/python/cpython/tree/6ffaf771c01fe2cbc3ca47425b3d210ca3e4b666
fix signal testshttps://github.com/python/cpython/pull/25116/commits/9f0ab8b786dc1f22a055429c8e071e192ec6d27e
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
9f0ab8bhttps://github.com/python/cpython/pull/25116/commits/9f0ab8b786dc1f22a055429c8e071e192ec6d27e
https://github.com/python/cpython/tree/9f0ab8b786dc1f22a055429c8e071e192ec6d27e
update NEWS entryhttps://github.com/python/cpython/pull/25116/commits/d782de0e5c79c8736e549bcdbf1cfb61249b2fdd
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
d782de0https://github.com/python/cpython/pull/25116/commits/d782de0e5c79c8736e549bcdbf1cfb61249b2fdd
https://github.com/python/cpython/tree/d782de0e5c79c8736e549bcdbf1cfb61249b2fdd
use `.__dict__` instead of `vars()`https://github.com/python/cpython/pull/25116/commits/1013ceacfc1396aa74f428add61d72d6f7b8f51c
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
1013ceahttps://github.com/python/cpython/pull/25116/commits/1013ceacfc1396aa74f428add61d72d6f7b8f51c
https://github.com/python/cpython/tree/1013ceacfc1396aa74f428add61d72d6f7b8f51c
wiphttps://github.com/python/cpython/pull/25116/commits/896b608cee7ed3fcc5036db3cb1b4585ae73d0cf
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
896b608https://github.com/python/cpython/pull/25116/commits/896b608cee7ed3fcc5036db3cb1b4585ae73d0cf
https://github.com/python/cpython/tree/896b608cee7ed3fcc5036db3cb1b4585ae73d0cf
minor updateshttps://github.com/python/cpython/pull/25116/commits/4f43964fedace60814dcc434d8f1be7088ac3d55
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
4f43964https://github.com/python/cpython/pull/25116/commits/4f43964fedace60814dcc434d8f1be7088ac3d55
https://github.com/python/cpython/tree/4f43964fedace60814dcc434d8f1be7088ac3d55
rewrite enum docs; add enum how-tohttps://github.com/python/cpython/pull/25116/commits/40910ea5d039f05254b8b7af6baf851c82e11361
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
40910eahttps://github.com/python/cpython/pull/25116/commits/40910ea5d039f05254b8b7af6baf851c82e11361
https://github.com/python/cpython/tree/40910ea5d039f05254b8b7af6baf851c82e11361
Enum: streamline repr() and str(); improve docshttps://github.com/python/cpython/pull/25116/commits/76438635286e3a50b87319c65014249d243c7e10
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
7643863https://github.com/python/cpython/pull/25116/commits/76438635286e3a50b87319c65014249d243c7e10
https://github.com/python/cpython/tree/76438635286e3a50b87319c65014249d243c7e10
add ``whatsnew`` entryhttps://github.com/python/cpython/pull/25116/commits/2b3a5ccd8e866a3bc5395a1b7a473f5b9e6ac8c9
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
2b3a5cchttps://github.com/python/cpython/pull/25116/commits/2b3a5ccd8e866a3bc5395a1b7a473f5b9e6ac8c9
https://github.com/python/cpython/tree/2b3a5ccd8e866a3bc5395a1b7a473f5b9e6ac8c9
Enum: add superfluous reimport for doctesthttps://github.com/python/cpython/pull/25116/commits/88b0da6ce34ca55e07afe775ad46af8720cbc7e8
https://github.com/ethanfurman
ethanfurmanhttps://github.com/python/cpython/commits?author=ethanfurman
88b0da6https://github.com/python/cpython/pull/25116/commits/88b0da6ce34ca55e07afe775ad46af8720cbc7e8
https://github.com/python/cpython/tree/88b0da6ce34ca55e07afe775ad46af8720cbc7e8
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.