[Tutor] How does this work?

Tony Cappellini cappy2112 at gmail.com
Wed Feb 7 04:43:56 CET 2007


Hi Danny,


>
>
> Hi Tony,
>
> Ack!
>
> This is not safe.  I would strongly recommend not to do this.  There is a
> much simpler way for the caller to be written:
What is not safe about doing it this way ?

> ############################
> import tester
> tester.main([], "argument")
> ############################
>
> Done.  No tricks, no eval() or exec() necessary.

> Very Bad to do in practice.  It seems to be deliberately trying to be
> obfuscated.

thanks


More information about the Tutor mailing list