pyobfuscate can't handle function parameters in lambdas
astrand opened this issue · 0 comments
astrand commented
Moved from http://bugzilla.lysator.liu.se/show_bug.cgi?id=1583:
As seen by the below example, pyobfuscate incorrectly obfuscates function
parameters when they are used in lambdas.
cat ~/slask/pyobf_lambda.py
def foo(bar):
lambda x: x.startswith(bar)
pyobfuscate ~/slask/pyobf_lambda.py
def oo000 ( bar ) :
lambda ii : ii . startswith ( oOOo )
------- Comment #1 From Erik Forsberg 2005-10-14 12:57:32 [reply] -------
I've implemented a test case in the test suite for this bug, but the actual bug
remains to be solved. I'll leave that to Mr Åstrand.