Skip to content

Instantly share code, notes, and snippets.

@llllllllll
Created May 26, 2017 02:15
Show Gist options
  • Save llllllllll/705bce76d4715e6b40d086d42824014d to your computer and use it in GitHub Desktop.
Save llllllllll/705bce76d4715e6b40d086d42824014d to your computer and use it in GitHub Desktop.
>>>> platform.python_implementation()
'PyPy'
>>>> sys.version_info
(major=2, minor=7, micro=13, releaselevel='final', serial=42)
>>>> def f():
.... a = 'ayy'
.... def g():
.... cell_set((lambda: a).__closure__[0], 'lmao')
.... g()
.... return a
....
>>>> f()
'lmao'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment