René's URL Explorer Experiment


Title: use enum name in repr by koubaa · Pull Request #2239 · pythonnet/pythonnet · GitHub

Open Graph Title: use enum name in repr by koubaa · Pull Request #2239 · pythonnet/pythonnet

X Title: use enum name in repr by koubaa · Pull Request #2239 · pythonnet/pythonnet

Description: What does this implement/fix? Explain your changes. Proposal to fix #2238 Before the changes: Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import clr; import System >>> System.DayOfWeek.Monday IronPython (as a reference): IronPython 2.7.4 (2.7.0.40) on .NET 4.0.30319.42000 (64-bit) Type "help", "copyright", "credits" or "license" for more information. >>> import System >>> System.DayOfWeek.Monday System.DayOfWeek.Monday With these changes: Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import clr; import System >>> System.DayOfWeek.Monday DayOfWeek.Monday Checklist Make sure to include one or more tests for your change If an enhancement PR, please create docs and at best an example Ensure you have signed the .NET Foundation CLA Add yourself to AUTHORS Updated the CHANGELOG

Open Graph Description: What does this implement/fix? Explain your changes. Proposal to fix #2238 Before the changes: Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32 Type &...

X Description: What does this implement/fix? Explain your changes. Proposal to fix #2238 Before the changes: Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32 Type &...

Opengraph URL: https://github.com/pythonnet/pythonnet/pull/2239

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4a8e0344-23b8-d524-a98e-288bc140aa3c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE630:3BB2E8:23D1BEF:324684E:6970F2DF
html-safe-nonced594bcc4df2de3e9fa4e7930a1db77f18d581876f8987acea04dc1a6e086d735
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjMwOjNCQjJFODoyM0QxQkVGOjMyNDY4NEU6Njk3MEYyREYiLCJ2aXNpdG9yX2lkIjoiMTc4MDg1MDc2NzM0MjY2MjM2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc662ef35501889731033ada5fa06eecadb7567d8dfcbdb8ea865390b263d83ab
hovercard-subject-tagpull_request:1519452534
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/pythonnet/pythonnet/pull/2239/files
twitter:imagehttps://avatars.githubusercontent.com/u/11414628?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11414628?s=400&v=4
og:image:altWhat does this implement/fix? Explain your changes. Proposal to fix #2238 Before the changes: Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32 Type &...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb6ca3cb96fa07d8a62b95d681f9dc8fffb49a43f4fea2a5bcac6d8f5107cbf4e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git
octolytics-dimension-user_id6050430
octolytics-dimension-user_loginpythonnet
octolytics-dimension-repository_id14748123
octolytics-dimension-repository_nwopythonnet/pythonnet
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14748123
octolytics-dimension-repository_network_root_nwopythonnet/pythonnet
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released2448578278810c7bf94faa67651ef5adb1abfde
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pythonnet/pythonnet/pull/2239/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F2239%2Ffiles
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%2Fpythonnet%2Fpythonnet%2Fpull%2F2239%2Ffiles
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%2Ffiles&source=header-repo&source_repo=pythonnet%2Fpythonnet
Reloadhttps://github.com/pythonnet/pythonnet/pull/2239/files
Reloadhttps://github.com/pythonnet/pythonnet/pull/2239/files
Reloadhttps://github.com/pythonnet/pythonnet/pull/2239/files
pythonnet https://github.com/pythonnet
pythonnethttps://github.com/pythonnet/pythonnet
Notifications https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Fork 770 https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Star 5.4k https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Code https://github.com/pythonnet/pythonnet
Issues 155 https://github.com/pythonnet/pythonnet/issues
Pull requests 18 https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects 0 https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/pythonnet/pythonnet/security
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/2239/files
Insights https://github.com/pythonnet/pythonnet/pulse
Code https://github.com/pythonnet/pythonnet
Issues https://github.com/pythonnet/pythonnet/issues
Pull requests https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security https://github.com/pythonnet/pythonnet/security
Insights https://github.com/pythonnet/pythonnet/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpythonnet%2Fpythonnet%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpythonnet%2Fpythonnet%2Fissues%2Fnew%2Fchoose
lostmsuhttps://github.com/lostmsu
pythonnet:masterhttps://github.com/pythonnet/pythonnet/tree/master
koubaa:pythonnet-enum-reprhttps://github.com/koubaa/pythonnet/tree/pythonnet-enum-repr
Conversation 8 https://github.com/pythonnet/pythonnet/pull/2239
Commits 8 https://github.com/pythonnet/pythonnet/pull/2239/commits
Checks 0 https://github.com/pythonnet/pythonnet/pull/2239/checks
Files changed https://github.com/pythonnet/pythonnet/pull/2239/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/2239/files
use enum name in repr https://github.com/pythonnet/pythonnet/pull/2239/files#top
Show all changes 8 commits https://github.com/pythonnet/pythonnet/pull/2239/files
d9c326c use enum name in repr Sep 18, 2023 https://github.com/pythonnet/pythonnet/pull/2239/commits/d9c326cd2bfb6941d435b6f1ed03ec4a11bca5e0
3acd1ca update test Sep 18, 2023 https://github.com/pythonnet/pythonnet/pull/2239/commits/3acd1ca1b20fda3675dbeaff16c54285e60f80eb
be2ae67 changelog Sep 18, 2023 https://github.com/pythonnet/pythonnet/pull/2239/commits/be2ae6712d782b5cda84d088b1b0d77f5bee6bb7
dea66fb Use python convention Sep 19, 2023 https://github.com/pythonnet/pythonnet/pull/2239/commits/dea66fb18013bb4ab93878f7c4ad135888ebf2ef
a3be481 fix test Sep 19, 2023 https://github.com/pythonnet/pythonnet/pull/2239/commits/a3be4813cf2354ab00cef6d6f438c6d2966f5619
5133cef respect base enum type Sep 21, 2023 https://github.com/pythonnet/pythonnet/pull/2239/commits/5133cefa521553c670232d9a6bf803d6fc0dd531
6e70b0e fix other assert Sep 21, 2023 https://github.com/pythonnet/pythonnet/pull/2239/commits/6e70b0eaa06a19b17d7e512218aa38cacebe9b80
2274595 refactor Sep 22, 2023 https://github.com/pythonnet/pythonnet/pull/2239/commits/22745953d49c999a8052ce4fa747bf6c6cca4e8a
Clear filters https://github.com/pythonnet/pythonnet/pull/2239/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/2239/files
Please reload this pagehttps://github.com/pythonnet/pythonnet/pull/2239/files
CHANGELOG.md https://github.com/pythonnet/pythonnet/pull/2239/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
ClassObject.cs https://github.com/pythonnet/pythonnet/pull/2239/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef
test_enum.py https://github.com/pythonnet/pythonnet/pull/2239/files#diff-76fe099ab4bd5fcc25f3445a3de0b298c522bfbe4c877d60c64408b2e5cb2346
CHANGELOG.mdhttps://github.com/pythonnet/pythonnet/pull/2239/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/koubaa/pythonnet/blob/22745953d49c999a8052ce4fa747bf6c6cca4e8a/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/2239/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/2239/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/pythonnet/pythonnet/pull/2239/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
src/runtime/Types/ClassObject.cshttps://github.com/pythonnet/pythonnet/pull/2239/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef
View file https://github.com/koubaa/pythonnet/blob/22745953d49c999a8052ce4fa747bf6c6cca4e8a/src/runtime/Types/ClassObject.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/2239/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/2239/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef
https://github.com/pythonnet/pythonnet/pull/2239/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef
https://github.com/pythonnet/pythonnet/pull/2239/files#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef
tests/test_enum.pyhttps://github.com/pythonnet/pythonnet/pull/2239/files#diff-76fe099ab4bd5fcc25f3445a3de0b298c522bfbe4c877d60c64408b2e5cb2346
View file https://github.com/koubaa/pythonnet/blob/22745953d49c999a8052ce4fa747bf6c6cca4e8a/tests/test_enum.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/pythonnet/pythonnet/pull/2239/{{ revealButtonHref }}
https://github.com/pythonnet/pythonnet/pull/2239/files#diff-76fe099ab4bd5fcc25f3445a3de0b298c522bfbe4c877d60c64408b2e5cb2346
https://github.com/pythonnet/pythonnet/pull/2239/files#diff-76fe099ab4bd5fcc25f3445a3de0b298c522bfbe4c877d60c64408b2e5cb2346
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.