lcm-proj / lcm

Lightweight Communications and Marshalling
GNU Lesser General Public License v2.1
944 stars 385 forks source link

lcmgen: Fix python for pylance #470 #482

Closed judfs closed 6 months ago

judfs commented 7 months ago

Oops. Seems the actual test caught something my scratchpad missed.

judfs commented 6 months ago

Well this runs despite pylance being mad at it

image

And this doesn't run

image

Maybe it is actually a pylance bug

judfs commented 6 months ago

Well ok. Yes. This approach was based on my understanding based on pyright/pylance. But they're buggy so this is wrong and won't work