In the python language, the union type defaults to "keyless = False"
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
从 cyclonedds/idl/_builder.py 第 324 行开始,检查 Python IDL 构建器如何为 union 类型分配无键默认值。将该行为与 issue 中所述的 C/C++ 行为进行比较;完成的标准是 Python union 使用预期的无键默认值,并且相关的现有测试(如果存在)覆盖了该行为。
由索引模型根据 Issue 内容生成。
描述
In the python language, the union type defaults to "keyless = False"
https://github.com/eclipse-cyclonedds/cyclonedds-python/blob/48418490c76a15d01615403a2c11f4a10b7ef0e0/cyclonedds/idl/_builder.py#L324
But in C/C++ language, the union type does not have a key.
- 主要语言
- Python
- 星标
- 110
- 派生
- 68
- 平均合并
- 3 天 5 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-cyclonedds/cyclonedds-python 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 52/100
-
Generated Python code is not interoperable when a union contains a member called "value"可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 3/5 1-2 天 新手友好度 58/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 48/100
eclipse-cyclonedds/cyclonedds-python#333 · 1 条评论 ·
查看 eclipse-cyclonedds/cyclonedds-python 的全部 Issue
相似的 Issue
-
good first issue tools
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug deferred domain:ci P1
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
docling-project/docling-mcp#147 ·
-
issue: A pipe model's Valves button ignores the Allow Chat Valves permission可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug confirmed issue
难度 2/5 1-3 小时 新手友好度 72/100
open-webui/open-webui#32771 · 1 条评论 ·
维护者通常 1 天内回复
-
Scheduled Security Scan is failing on main可能已有人在做 @pkupt 今天认领。 未关闭security-scan-failure
难度 1/5 1-3 小时 新手友好度 74/100
semantica-agi/semantica#2045 ·
维护者通常 2 天内回复