liftoff / pyminifier

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

enhancement request #116

Open tacittech opened 5 years ago

tacittech commented 5 years ago

I have python code that generates python code.

The generating code uses "specific comments in a specific format" to make decisions on what action to take.

Since all comments are removed during minification - the generator now fails.

I do want to obfuscate - but I do not want to remove comments from the code (as they are used in generation processing in my case).