Title: Call tp_clear of base unmanaged type by lostmsu · Pull Request #1541 · pythonnet/pythonnet · GitHub
Open Graph Title: Call tp_clear of base unmanaged type by lostmsu · Pull Request #1541 · pythonnet/pythonnet
X Title: Call tp_clear of base unmanaged type by lostmsu · Pull Request #1541 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. Calls tp_clear (if any) of base unmanaged type when a reflected CLR object instance is cleared. Does this close any currently open issues? #1476 Any other comments? C# exceptions inherit from Python BaseException class, which has tp_clear. Prior to this change it was not called when Python deallocated them leaving dangling references to BaseException.args and BaseException.__cause__. Checklist Check all those that are applicable and complete. Make sure to include one or more tests for your change
Open Graph Description: What does this implement/fix? Explain your changes. Calls tp_clear (if any) of base unmanaged type when a reflected CLR object instance is cleared. Does this close any currently open issues? #1476 ...
X Description: What does this implement/fix? Explain your changes. Calls tp_clear (if any) of base unmanaged type when a reflected CLR object instance is cleared. Does this close any currently open issues? #1476 ...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1541
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2a525141-f7b7-a549-804b-98497613613f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D2D6:121D22:3C04B19:514C8B4:69708559 |
| html-safe-nonce | f75f622389c0482de0da8d3e7538523766f02b5f6b38ab655d6164d3b24b8e90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkQ2OjEyMUQyMjozQzA0QjE5OjUxNEM4QjQ6Njk3MDg1NTkiLCJ2aXNpdG9yX2lkIjoiMjgxNzg3Mzk0NDAwNzQ4ODg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 26ce432d0c466f5106eecaed15ef35637464e5be1a2b1da2f2494a9bc1d62c51 |
| hovercard-subject-tag | pull_request:727321206 |
| 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/1541/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. Calls tp_clear (if any) of base unmanaged type when a reflected CLR object instance is cleared. Does this close any currently open issues? #1476 ... |
| 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