Title: Property descriptor made visible on the reflected class by lostmsu · Pull Request #1512 · pythonnet/pythonnet · GitHub
Open Graph Title: Property descriptor made visible on the reflected class by lostmsu · Pull Request #1512 · pythonnet/pythonnet
X Title: Property descriptor made visible on the reflected class by lostmsu · Pull Request #1512 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. Assuming class C { public int Prop { get; set; } } and Python code using it: inst = C() print(inst.Prop) print(C.Prop) The second print call would fail prior to this change, because accessing C.Prop was explicitly denied. After this change C.Prop will return a Python property descriptor for Prop property, and inst.Prop will behave as before. Checklist Check all those that are applicable and complete. Make sure to include one or more tests for your change If an enhancement PR, please create docs and at best an example Add yourself to AUTHORS Updated the CHANGELOG
Open Graph Description: What does this implement/fix? Explain your changes. Assuming class C { public int Prop { get; set; } } and Python code using it: inst = C() print(inst.Prop) print(C.Prop) The second print call wo...
X Description: What does this implement/fix? Explain your changes. Assuming class C { public int Prop { get; set; } } and Python code using it: inst = C() print(inst.Prop) print(C.Prop) The second print call wo...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1512
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e19e67f4-787d-6acf-baab-25931a8228f2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A610:AA9C4:444E6D9:5D0D025:69709DCB |
| html-safe-nonce | 2829aa12e4c9d60fef77e1d4b3594ce2f6d1c601fc19c9aa8fbe36cfe7fa53e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjEwOkFBOUM0OjQ0NEU2RDk6NUQwRDAyNTo2OTcwOURDQiIsInZpc2l0b3JfaWQiOiI3MDM5NTQwODA4MjQ3MTg4OTM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c668fa8d7f0417014e3f0d6876d7085d61a882e14f000df1181a6131a7cc23c7 |
| hovercard-subject-tag | pull_request:705006085 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/pythonnet/pythonnet/pull/1512/files |
| twitter:image | https://avatars.githubusercontent.com/u/239520?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/239520?s=400&v=4 |
| og:image:alt | What does this implement/fix? Explain your changes. Assuming class C { public int Prop { get; set; } } and Python code using it: inst = C() print(inst.Prop) print(C.Prop) The second print call wo... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width