Variables name in Byte code

Gerhard Häring gh_pythonlist at
Fri Oct 5 20:53:06 CEST 2001

On Fri, Oct 05, 2001 at 11:38:10AM -0700, Kaci Tizi Ouzou wrote:
> Greetings all,
> I was examining python compiled code and surprisingly I could see
> clearly the names of some variables. 
> Is there anything I could do to make Python Byte code more obscur.
> I do not want user trying to hack the code(!)

This previous discussion might be interesting for you:

mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))

More information about the Python-list mailing list