Open snoopyjc opened 2 years ago
tr ranges need to be expanded for maketrans. The python maketrans call doesn't accept ranges, so wrong code is generated for like:
tr/a-z/A-Z/;
Also the length of the strings in the 2 args to maketrans must be the same.
Fixed in my v0.956 https://github.com/snoopyjc/pythonizer/
tr ranges need to be expanded for maketrans. The python maketrans call doesn't accept ranges, so wrong code is generated for like: