pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

push generates bad code for simple case of array and scalar

Open snoopyjc opened this issue 3 years ago • 1 comments

The perl code:

push @arr,$val;

generates only "val" in python, instead of the correct code.

snoopyjc avatar Nov 07 '21 00:11 snoopyjc

Fixed in https://github.com/snoopyjc/pythonizer

snoopyjc avatar Feb 07 '22 16:02 snoopyjc