liftoff / pyminifier

Pyminifier is a Python code minifier, obfuscator, and compressor.
GNU General Public License v3.0
1.43k stars 221 forks source link

--replacement-length greater than 51 hangs indefinetly #113

Open kittenswolf opened 5 years ago

kittenswolf commented 5 years ago

Steps to repro: pyminifier --obfuscate-variables --obfuscate-functions --replacement-length=52 test.py

test.py:

def test():
    x = "hello world!"
    y = "123"
    z = "987"
    print(z + x + y)
test()

Expected result: The input should be obfuscated. Actual result: pyminifier hangs indefinetly.