Open snoopyjc opened 2 years ago
Wrong code generated for choosing multiple elements from array. For example:
($this, $that, $other) = @arr[0,1,4];
generates:
[this, that, other] = arr[0,1,4]
proper code would be:
[this, that, other] = [arr[i] for i in [0,1,4]]
Implemented in https://github.com/snoopyjc/pythonizer v0.921
Wrong code generated for choosing multiple elements from array. For example:
generates:
proper code would be: