Open snoopyjc opened 2 years ago
++ and -- generate bad code inside an expression. For example (from the perl test suite):
tryeq $T++, 13 % 4, 1, 'modulo: positive positive';
generates this python code, which is a syntax error:
tryeq([T+=1,13%4,1,'modulo: positive positive'])
Fixed in https://github.com/snoopyjc/pythonizer
++ and -- generate bad code inside an expression. For example (from the perl test suite):
generates this python code, which is a syntax error: