Skip to content
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

Comments "inside" multi-line sequences fails with dummy-lines #4

Open
astrand opened this issue Aug 24, 2012 · 0 comments
Open

Comments "inside" multi-line sequences fails with dummy-lines #4

astrand opened this issue Aug 24, 2012 · 0 comments

Comments

@astrand
Copy link
Owner

astrand commented Aug 24, 2012

From http://bugzilla.lysator.liu.se/show_bug.cgi?id=1585:

If you have a construction like this:

foo = [1, # My number one
2,
3]

the obfuscated code will look like:

oo000 = [ 1 ,if 9 - 9: Ii . o0o00Oo0O - iI11I1II1I1I
2 ,
3 ]

Thus, a dummy-line construction has been inserted at the position of the comment.

A workaround is to turn off dummy lines, ie either use --removeblanks or
--keepblanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant