Uh oh!
There was an error while loading. Please reload this page.
Correctly map byte[] AKA IDL type sequence<octet> to Python type bytes - #142
Correctly map byte[] AKA IDL type sequence<octet> to Python type bytes#142aprotyas wants to merge 1 commit into
byte[] AKA IDL type sequence<octet> to Python type bytes#142Conversation
The tests for `Arrays`, `BoundedSequences`, and `UnboundedSequences` are modified to reflect the correct mapping from IDL type `sequence<octet>` to Python type `bytes`, rather than Python type `list`. Signed-off-by: aprotyas <aprotyas@u.rochester.edu>
russkel
commented
Jul 18, 2023
Hi @aprotyas did this get anywhere? |
aprotyas
commented
Jul 18, 2023
@russkel no, I didn't look into this much further than what's in the PR. Feel free to work on it if you want! |
russkel
commented
Jul 18, 2023
Yeah I might have a go. Seems a good first ticket on this |
aprotyas
commented
Jul 18, 2023
Yeah, unfortunately I can't give time to this PR anymore, but I'd be happy to review and move forward things if you write some code. |
I haven't checked all of the related PRs and issues, but this seems like a much needed change. It took me some time to realise |
aprotyas
commented
Aug 14, 2024
Almost reaching its 3rd cake day! I'd be very happy if someone could take over this PR. |
russkel
commented
Oct 18, 2024
Is |
As reported in #134, the message type
byte[]AKA IDL typesequence<octet>is mapped to a sequence ofbytes, rather than a singlebytesinstance - which is the mapped type documented in the design doc.The goal of this (draft, for now) PR is to rectify that behavior.
In 14969f2, I've modified the interface tests for
Arrays,BoundedSequences, andUnboundedSequencesto reflect the correct mapping from IDL typesequence<octet>to Python typebytes, rather than Python typelist. As expected, these changes will cause test failures in the build job.Signed-off-by: Abrar Rahman Protyasha aprotyas@u.rochester.edu