Obfuscated Python hack

Chris Angelico rosuav at gmail.com
Mon Jun 2 09:23:53 EDT 2014


On Mon, Jun 2, 2014 at 10:27 PM, Tim Chase
<python.list at tim.thechases.com> wrote:
> Stripping off the exec() call makes it pretty transparent that you're
> attempting (successfully on some platforms) to set the value of "4"
> to "5".  But a cute hack.

And not on Windows inside IDLE, where attempting to use 4 results in a
===== RESTART ===== crash. But a nice try.

ChrisA



More information about the Python-list mailing list