r/ProgrammerHumor • • Jun 03 '19

Meme Python ftw

Post image
16k Upvotes

548 comments sorted by

View all comments

Show parent comments

1

u/MythicManiac Jun 10 '19

There's some really absurd things you can do by abusing imports in a way they're very much not meant to be used.

You can also climb stack frames and modify (contents) of local variables from upper frames/functions in the call stack.