eclipse-cyclonedds / eclipse-cyclonedds/cyclonedds-python
In the python language, the union type defaults to "keyless = False"
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 110
- Forks
- 68
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in cyclonedds/idl/_builder.py at line 324 and inspect how the Python IDL builder assigns the union type's keyless default. Compare that behavior with the issue's stated C/C++ behavior; done means Python unions use the intended no-key default and the behavior is covered by the relevant existing tests, if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100