Title: Removed `ShutdownMode`. Now always behaves like original `Reload` by lostmsu · Pull Request #1638 · pythonnet/pythonnet · GitHub
Open Graph Title: Removed `ShutdownMode`. Now always behaves like original `Reload` by lostmsu · Pull Request #1638 · pythonnet/pythonnet
X Title: Removed `ShutdownMode`. Now always behaves like original `Reload` by lostmsu · Pull Request #1638 · pythonnet/pythonnet
Description: What does this implement/fix? Explain your changes. This removes all shutdown modes, except Reload (which you don't need to specify, because it is the only one left). This means Python C runtime is never actually shut down when .NET calls PythonEngine.Shutdown(). Instead, anything from .NET exposed to Python before Shutdown becomes unavailable until PythonEngine.Initialize() is called again (which can be done from a different AppDomain). Any other comments? Also in this change: dropped Python 3.6 support fixed Python derived types not being decrefed when an instance is deallocated reduced time and amount of storage needed for runtime reload removed circular reference loop between Type <-> ConstructorBinding(s) exposed Runtime.TryCollectingGarbage A review from @amos402 would be welcome
Open Graph Description: What does this implement/fix? Explain your changes. This removes all shutdown modes, except Reload (which you don't need to specify, because it is the only one left). This means Python C runtim...
X Description: What does this implement/fix? Explain your changes. This removes all shutdown modes, except Reload (which you don't need to specify, because it is the only one left). This means Python C ru...
Opengraph URL: https://github.com/pythonnet/pythonnet/pull/1638
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7f910681-5a7c-17fb-8f5c-ab590879663b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DEFA:2E35ED:8ED0FD:BCB784:697165CD |
| html-safe-nonce | 98dffd9cb6ca6a92d465a0b49d5e5b0cb2744e4059b28917f2b1a08d1e124ed3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUZBOjJFMzVFRDo4RUQwRkQ6QkNCNzg0OjY5NzE2NUNEIiwidmlzaXRvcl9pZCI6IjI1Mzc4ODA0NzAyODAwMzc4MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 181baebc55e9ddf894b0874b5e258be7057c2d5caeee2ef286f56453daf1eb48 |
| hovercard-subject-tag | pull_request:806265843 |
| 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/1638/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. This removes all shutdown modes, except Reload (which you don't need to specify, because it is the only one left). This means Python C runtim... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 873364ab8c3892d45b3a7f6c012702ee84934662b47c9312d99f8b31dd9c2668 |
| 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 | fa6ed180534301da051f8e5cb00f3a1dfab789ec |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width