-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python Minifier doesn't rename variables when eval() is used. #44
Comments
Didn't read the documentation. Any possibility of fixing it? |
You could technically do it if the expression was a static string, but you wouldn't need to eval it in that case. I would try to avoid |
I've thought about this some more, and I think there are improvements that could be made. For usage of This wouldn't help for your short example, but I expect it would make a difference in most situations. |
When I try to shorten this code with all options enabled it only removes the spaces.
Result: Reduction from 217 to 192
When the eval() is removed from the code it gets shortened properly (203 to 162)
The text was updated successfully, but these errors were encountered: