Title: cannot get anymore int of enumerator class (alpha2) · Issue #1809 · pythonnet/pythonnet · GitHub
Open Graph Title: cannot get anymore int of enumerator class (alpha2) · Issue #1809 · pythonnet/pythonnet
X Title: cannot get anymore int of enumerator class (alpha2) · Issue #1809 · pythonnet/pythonnet
Description: Environment Pythonnet version: 3.0.0 Alpha 2 Python version: 3.9 Operating System: Windows .NET Runtime: Details Describe what you were trying to get done. In v2.5.2 I'm able to get a C# Enumerator and get the int value. In alpha 2 it se...
Open Graph Description: Environment Pythonnet version: 3.0.0 Alpha 2 Python version: 3.9 Operating System: Windows .NET Runtime: Details Describe what you were trying to get done. In v2.5.2 I'm able to get a C# Enumerator...
X Description: Environment Pythonnet version: 3.0.0 Alpha 2 Python version: 3.9 Operating System: Windows .NET Runtime: Details Describe what you were trying to get done. In v2.5.2 I'm able to get a C# Enumer...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/1809
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cannot get anymore int of enumerator class (alpha2)","articleBody":"### Environment\r\n\r\n- Pythonnet version: 3.0.0 Alpha 2\r\n- Python version: 3.9\r\n- Operating System: Windows\r\n- .NET Runtime:\r\n\r\n### Details\r\n\r\n- Describe what you were trying to get done.\r\n\r\n In v2.5.2 I'm able to get a C# Enumerator and get the int value. In alpha 2 it seems that the full enumerator class is returned but the int command is not working.\r\n\r\n\r\n- What commands did you run to trigger this issue? If you can provide a\r\n [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve)\r\n this will help us understand the issue.\r\n\r\n```python\r\n my_enum = csharp_object.GetObjType()\r\n int(my_enum) --\u003e Failing now, working before\r\n```\r\n\r\n- If there was a crash, please include the traceback here.\r\n\r\n```python\r\n cannot get int of object of class ComponentType (name of enumerator class)\r\n```\r\n","author":{"url":"https://github.com/maxcapodi78","@type":"Person","name":"maxcapodi78"},"datePublished":"2022-06-08T09:50:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/1809/pythonnet/issues/1809"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9536b075-07bd-dc3d-f517-2e68ca737b22 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A756:249DA2:8A0A3E:BAB1FA:6971C2DB |
| html-safe-nonce | 6e1811443b4fb1f58dd4090b6914ac88ff31da00b54aea1f08f54ab3c7cc05db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzU2OjI0OURBMjo4QTBBM0U6QkFCMUZBOjY5NzFDMkRCIiwidmlzaXRvcl9pZCI6Ijg2MTAyNjc3MDMzODc3MzQ3NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2590d3bb52da24e8e4f4f687af51894395f1e3d749e5b66eb36ae05bcf98fbeb |
| hovercard-subject-tag | issue:1264486413 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/1809/issue_layout |
| twitter:image | https://opengraph.githubassets.com/66d56a2411d012434b00e9970faa3e004ecec366b26ed5cf9cf9315a954d09bb/pythonnet/pythonnet/issues/1809 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/66d56a2411d012434b00e9970faa3e004ecec366b26ed5cf9cf9315a954d09bb/pythonnet/pythonnet/issues/1809 |
| og:image:alt | Environment Pythonnet version: 3.0.0 Alpha 2 Python version: 3.9 Operating System: Windows .NET Runtime: Details Describe what you were trying to get done. In v2.5.2 I'm able to get a C# Enumerator... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxcapodi78 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3b677fea7de290a6c0d1c9ccd6c9909b6a527cf8ee079649e09dc78092d24f1 |
| 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 | 29d7fcca69cafb91ec8a596aaf222fd46e9bc934 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width