| 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:561b32dd-1e4d-508f-c688-d0dbdc2c9c6b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BD9A:30D218:2A2044D:38D68B7:69704AC4 |
| html-safe-nonce | 4ae245405905c80d7b06f05f9da674057c5531db42d4c021e71448bc721e2d09 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDlBOjMwRDIxODoyQTIwNDREOjM4RDY4Qjc6Njk3MDRBQzQiLCJ2aXNpdG9yX2lkIjoiMzgzOTYxMjcxNzU2MzM5ODg1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7fe84e9bf9f103b1c6a0c9124b11b3e311a9b3e861f710bf8f6e34452529a485 |
| hovercard-subject-tag | pull_request:1519452534 |
| 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/pythonnet/pythonnet/2239/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/75d8ff24503799fbf6469b03cd20e42d5439fc94261c1ea65fe222d9ef6fb88d/pythonnet/pythonnet/pull/2239 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/75d8ff24503799fbf6469b03cd20e42d5439fc94261c1ea65fe222d9ef6fb88d/pythonnet/pythonnet/pull/2239 |
| og:image:alt | 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 &... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | koubaa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| 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 | f643964067a552f02067066d6a910b2f90a5721f |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/pythonnet/pythonnet/pull/2239#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fpull%2F2239 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2Fpythonnet%2Fpythonnet%2Fpull%2F2239 |
|
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=pythonnet%2Fpythonnet |
| Reload | https://github.com/pythonnet/pythonnet/pull/2239 |
| Reload | https://github.com/pythonnet/pythonnet/pull/2239 |
| Reload | https://github.com/pythonnet/pythonnet/pull/2239 |
|
pythonnet
| https://github.com/pythonnet |
| pythonnet | https://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 page | https://github.com/pythonnet/pythonnet/pull/2239 |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/pythonnet/pythonnet/pull/2239#issue-comment-box |
| lostmsu | https://github.com/lostmsu |
| pythonnet:master | https://github.com/pythonnet/pythonnet/tree/master |
| koubaa:pythonnet-enum-repr | https://github.com/koubaa/pythonnet/tree/pythonnet-enum-repr |
|
use enum name in repr
| https://github.com/pythonnet/pythonnet/pull/2239#top |
| lostmsu | https://github.com/lostmsu |
| pythonnet:master | https://github.com/pythonnet/pythonnet/tree/master |
| koubaa:pythonnet-enum-repr | https://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 page | https://github.com/pythonnet/pythonnet/pull/2239 |
| https://github.co/hiddenchars |
| https://github.com/pythonnet/pythonnet/pull/{{ revealButtonHref }} |
|
| https://github.com/koubaa |
| koubaa | https://github.com/koubaa |
| Sep 18, 2023 | https://github.com/pythonnet/pythonnet/pull/2239#issue-1900880408 |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| #2238 | https://github.com/pythonnet/pythonnet/issues/2238 |
| .NET Foundation CLA | https://cla.dotnetfoundation.org/pythonnet/pythonnet |
| AUTHORS | https://github.com/pythonnet/pythonnet/blob/master/AUTHORS.md |
| CHANGELOG | https://github.com/pythonnet/pythonnet/blob/master/CHANGELOG.md |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| September 18, 2023 07:49 | https://github.com/pythonnet/pythonnet/pull/2239#commits-pushed-d9c326c |
| use enum name in repr | https://github.com/pythonnet/pythonnet/pull/2239/commits/d9c326cd2bfb6941d435b6f1ed03ec4a11bca5e0 |
| d9c326c | https://github.com/pythonnet/pythonnet/pull/2239/commits/d9c326cd2bfb6941d435b6f1ed03ec4a11bca5e0 |
| update test | https://github.com/pythonnet/pythonnet/pull/2239/commits/3acd1ca1b20fda3675dbeaff16c54285e60f80eb |
| 3acd1ca | https://github.com/pythonnet/pythonnet/pull/2239/commits/3acd1ca1b20fda3675dbeaff16c54285e60f80eb |
| changelog | https://github.com/pythonnet/pythonnet/pull/2239/commits/be2ae6712d782b5cda84d088b1b0d77f5bee6bb7 |
| be2ae67 | https://github.com/pythonnet/pythonnet/pull/2239/commits/be2ae6712d782b5cda84d088b1b0d77f5bee6bb7 |
|
Enum repr
ansys/ansys-pythonnet#8
| https://github.com/ansys/ansys-pythonnet/pull/8 |
|
[Embedding] Enum values are integers, they should be string-based for usability
ansys/pymechanical#240
| https://github.com/ansys/pymechanical/issues/240 |
| https://github.com/lostmsu |
| lostmsu | https://github.com/lostmsu |
| Sep 18, 2023 | https://github.com/pythonnet/pythonnet/pull/2239#issuecomment-1724083474 |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| September 19, 2023 09:36 | https://github.com/pythonnet/pythonnet/pull/2239#commits-pushed-dea66fb |
| Use python convention | https://github.com/pythonnet/pythonnet/pull/2239/commits/dea66fb18013bb4ab93878f7c4ad135888ebf2ef |
| dea66fb | https://github.com/pythonnet/pythonnet/pull/2239/commits/dea66fb18013bb4ab93878f7c4ad135888ebf2ef |
| fix test | https://github.com/pythonnet/pythonnet/pull/2239/commits/a3be4813cf2354ab00cef6d6f438c6d2966f5619 |
| a3be481 | https://github.com/pythonnet/pythonnet/pull/2239/commits/a3be4813cf2354ab00cef6d6f438c6d2966f5619 |
| https://github.com/koubaa |
| koubaa | https://github.com/koubaa |
| Sep 19, 2023 | https://github.com/pythonnet/pythonnet/pull/2239#issuecomment-1725816130 |
| @lostmsu | https://github.com/lostmsu |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| https://github.com/lostmsu |
| lostmsu | https://github.com/lostmsu |
| Sep 19, 2023 | https://github.com/pythonnet/pythonnet/pull/2239#issuecomment-1726185197 |
| @koubaa | https://github.com/koubaa |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| https://github.com/lostmsu |
| lostmsu | https://github.com/lostmsu |
|
Sep 19, 2023
| https://github.com/pythonnet/pythonnet/pull/2239#pullrequestreview-1633850148 |
|
View reviewed changes
| https://github.com/pythonnet/pythonnet/pull/2239/files/a3be4813cf2354ab00cef6d6f438c6d2966f5619 |
| src/runtime/Types/ClassObject.cs | https://github.com/pythonnet/pythonnet/pull/2239/files/a3be4813cf2354ab00cef6d6f438c6d2966f5619#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| src/runtime/Types/ClassObject.cs | https://github.com/pythonnet/pythonnet/pull/2239/files/a3be4813cf2354ab00cef6d6f438c6d2966f5619#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| September 21, 2023 10:40 | https://github.com/pythonnet/pythonnet/pull/2239#commits-pushed-5133cef |
| respect base enum type | https://github.com/pythonnet/pythonnet/pull/2239/commits/5133cefa521553c670232d9a6bf803d6fc0dd531 |
| 5133cef | https://github.com/pythonnet/pythonnet/pull/2239/commits/5133cefa521553c670232d9a6bf803d6fc0dd531 |
| fix other assert | https://github.com/pythonnet/pythonnet/pull/2239/commits/6e70b0eaa06a19b17d7e512218aa38cacebe9b80 |
| 6e70b0e | https://github.com/pythonnet/pythonnet/pull/2239/commits/6e70b0eaa06a19b17d7e512218aa38cacebe9b80 |
| https://github.com/koubaa |
| koubaa | https://github.com/koubaa |
| Sep 21, 2023 | https://github.com/pythonnet/pythonnet/pull/2239#issuecomment-1729884549 |
| @lostmsu | https://github.com/lostmsu |
| https://godbolt.org/z/dYG6sdnKo | https://godbolt.org/z/dYG6sdnKo |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| https://github.com/lostmsu |
| lostmsu | https://github.com/lostmsu |
| Sep 21, 2023 | https://github.com/pythonnet/pythonnet/pull/2239#issuecomment-1730097043 |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| @koubaa | https://github.com/koubaa |
| using Convert.ChangeType | https://sharplab.io/#v2:C4LgTgrgdgNAJiA1AHwAICYCMBYAUKgBgAJVMA6AcQBsB7AIwEMqBLALweGZqgG49CS5AErROAWwCmZAJJRgEsDQAOAZQUA3ZgGMJAZz65+mAJwAKAMLd1C4ADUmECaYCiZACoB3GgEpvB0maWUNZgwABiVAwA5rou7l6+/iYWVjYR0bGuALLMUBC6APJQEolGZqamugAWNKHe2bn5RSXuNCrAYLlRpgBEABo9pfjJQSHhkTGm0gBsACxkOXmFxUN4RsSjaROZeWJE6g4lRADeeETnRG4AnkoSREqdYsyc1te3RAC8+4eUEsBvTm8v2Azl2AFUoHAFFQrl0AaY/GcLqRiAAzWpiDifIj9HpERBEUxZBhgapMMgqNgSAqo0wPZhPF4SAHeIgAKiI6CBbjaHS6FggVGAEDAElk6JkwRJzAYcnMguFosRuAu3zA90ez2Y1mxUzCGI4wAYdCoJU2oTI5iqsqizJuTgOVEcMA1DK1r3tytVqAA7K7GdqpDz2p0oN10WBMcAXXkqFQvec8ABfNbDDapUL2J1OUEQPaOxys04qi4A/3uu3vL4FqQUP7woF1kHgyHQ2FhhsGb1+83AS3WsOVh2HF30gMe27c3mh7reACEBhThmXEl2RGcICI1VqwBORAAWgoaC7mi7PMeiIsmsVsQBaTBEJervNEGazTe0MN7q/LO5fe+PngQA== |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| https://github.com/lostmsu |
| lostmsu | https://github.com/lostmsu |
|
Sep 21, 2023
| https://github.com/pythonnet/pythonnet/pull/2239#pullrequestreview-1638478499 |
|
View reviewed changes
| https://github.com/pythonnet/pythonnet/pull/2239/files/6e70b0eaa06a19b17d7e512218aa38cacebe9b80 |
| src/runtime/Types/ClassObject.cs | https://github.com/pythonnet/pythonnet/pull/2239/files/6e70b0eaa06a19b17d7e512218aa38cacebe9b80#diff-6086caf4711f56eeb980ebd1411f1b89fbe5f56fffe67c19503d9303f116e7ef |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
| refactor | https://github.com/pythonnet/pythonnet/pull/2239/commits/22745953d49c999a8052ce4fa747bf6c6cca4e8a |
| 2274595 | https://github.com/pythonnet/pythonnet/pull/2239/commits/22745953d49c999a8052ce4fa747bf6c6cca4e8a |
| https://github.com/lostmsu |
| lostmsu | https://github.com/lostmsu |
| 22d07dd | https://github.com/pythonnet/pythonnet/commit/22d07ddff8f449d295078ecfebe00fe0ff6e4c74 |
| Sep 22, 2023 | https://github.com/pythonnet/pythonnet/pull/2239#event-10451058496 |
| koubaa | https://github.com/koubaa |
|
Sep 25, 2023
| https://github.com/pythonnet/pythonnet/pull/2239#ref-commit-5030f75 |
|
| https://github.com/koubaa |
| Enum repr ( | https://github.com/ansys/ansys-pythonnet/commit/5030f75e507744315fa1b4464e8a31632eff88d0 |
| #8 | https://github.com/ansys/ansys-pythonnet/pull/8 |
| ) | https://github.com/ansys/ansys-pythonnet/commit/5030f75e507744315fa1b4464e8a31632eff88d0 |
| 5030f75 | https://github.com/ansys/ansys-pythonnet/commit/5030f75e507744315fa1b4464e8a31632eff88d0 |
| pythonnet/pythonnet#2239 | https://github.com/pythonnet/pythonnet/pull/2239 |
| 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%2Fpythonnet%2Fpythonnet%2Fpull%2F2239 |
|
| https://github.com/lostmsu |
|
lostmsu
| https://github.com/lostmsu |
|
| https://github.com/pythonnet/pythonnet/pull/2239/files/6e70b0eaa06a19b17d7e512218aa38cacebe9b80 |
|
Enum __repr__ string could be improved
| https://github.com/pythonnet/pythonnet/issues/2238 |
| Please reload this page | https://github.com/pythonnet/pythonnet/pull/2239 |
|
| https://github.com/koubaa |
|
| https://github.com/lostmsu |
|
| 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 |