Is it possible to programmatically retrieve C++ class name / Python class name mapping ?
還沒有人認領這個 Issue。
評估
研究方向
首先檢視與 class_ 註冊相關的 Boost.Python 執行階段介面,然後將其與 issue 中描述的 Doxygen XML 資料和產生的 .pyi 輸出進行比較。完成標準是確認是否能以程式方式取得 C++ 和 Python 類別對映,並記錄所需的方法或限制。
由索引模型根據 Issue 內容生成。
描述
Hello,
Suppose I do the following:
class_<somevendor::SomeClass>("SomePyClass");
Is there a way at runtime in Python to retrieve the mapping between SomePyClass and somevendor::SomeClass ?
For context I am writing some code to parse Doxygen XML files and producing the .pyi file to get more auto-completion and docstrings
- 主要語言
- C++
- 星號
- 537
- 分支
- 223
- 平均合併
- 11 小時 22 分鐘
- 30 天內合併 PR
- 2
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
boostorg/python 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 84/100
-
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 64/100
-
BoostDetectToolset-1.90.0.cmake file not found in an include() call in boost_python-config.cmake 未關閉
難度 3/5 1-2 天 新手友好度 48/100
-
難度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 65/100
brave/brave-browser#59300 ·
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main 未關閉ai_reviewed
難度 2/5 1-3 小時 新手友好度 70/100
ydb-platform/ydb#53974 · 3 則留言 ·