softpano / pythonizer

Translator (or more correctly transcriber) from Perl to Python
http://www.softpanorama.org/Scripting/Pythonorama/Python_for_perl_programmers/Pythonizer/index.shtml
Other
39 stars 17 forks source link

References to special variables in subscripts or hash keys during string interpolation generates incorrect code #109

Open snoopyjc opened 2 years ago

snoopyjc commented 2 years ago

References to special variables in subscripts or hash keys during string interpolation generates incorrect code. For example:

"$arr[$_]"
"$hash{$1}"
snoopyjc commented 2 years ago

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