pythonnet / pythonnet/pythonnet
Isolate loaded assemblies inside an AssemblyLoadContext
未關閉
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 5.5k
- 分支
- 780
- PR 合併指標
- 30 天內沒有已合併 PR
描述
When loading a .NET Framework runtime a new AppDomain is created and everything is loaded into that AppDomain. However, when using Core CLR this isn't possible and everything is loaded into the single AppDomain. Could we instead create a new AssemblyLoadContext and load all referenced assemblies into this in order to give some level of isolation between PythonNET and anything else that might be using .NET within the same process?
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
該 issue 未指定檔案、測試或進入點。調查 Core CLR 的載入路徑,並確定專用的 AssemblyLoadContext 是否可以隔離 PythonNET 參照的組件;在實作之前定義隔離行為和所需的驗證。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp, python
- 領域
- backend
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100