Cast Sequence to list on assignment (with templates)#249
Cast Sequence to list on assignment (with templates)#249InvincibleRMC merged 11 commits intoros2:rollingfrom
Conversation
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
|
@christophebedard here is an implementation with straight templates. The only jankness comes not being able to apply indents to templates nicely. If there is some cleaner way I would love to know. Trying to use the |
|
Pulls: #249 |
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
|
Pulls: #249 |
|
@christophebedard does this templated solution work for you? |
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
|
Pulls: #249 |
|
Pulls: #249 |
christophebedard
left a comment
There was a problem hiding this comment.
Some comments and suggestions. I really had to look at the output, because this is just so 😵
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
|
Pulls: #249 |
|
Hmmm. Pytest seems to be missing in this rhel job? It also has happend in my last 3 rhel CI jobs across repos. But others seem fine. I'll rerun but, 3 for 3 is sus. |
|
Pulls: #249 |
|
LGTM with green CI. We'll have to wait for ros2/launch#944 to be fixed |
I have a fear that the launch stuff might be unrelated. Since it cant find |
|
Where are you saying that error about pytest? It's not very clear if you just click on the test failures in the list under the CI job page, but all test failures are basically this: |
|
ah! So some tests are just not getting run. There may be an issue with the way we detect |
But like the last edit was 5 years ago? And it only started it like 1 or 2 days ago in job #7968. And its still in ros2/ci for rhel. |
|
I believe we've had issues with finding or getting the right Python interpreter in the past on RHEL. Maybe something changed? I know Humble/RHEL 8 needed an explicit |
Ok. The |
|
Pulls: #249 |
|
Pulls: #249 |

Description
With templates
My proposal on what the solution for The
SequenceApi discussion.Zulip discussion here.
Is this user-facing behavior change?
Yes in the past users type would only change on receiving from a subscriber but, now the change is done on assignment to be more inline with numpy.array and array.array casts.
Did you use Generative AI?
Additional Information