pythonizer
pythonizer copied to clipboard
tr ranges need to be expanded for maketrans
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/