pythonizer
pythonizer copied to clipboard
Assignments in expressions with complicated LHS produces incorrect code
Perl assignments in expressions allows arbitrary LHS, while python only allows a single variable, so things like:
if(($year, $month, $day) = @ymd) { ... }
or
if($arr[0] = $i) { ... }
generate incorrect code.
LOL I fixed these but found a similar one in an elsif!
Fixed in https://github.com/snoopyjc/pythonizer