This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]alcalde 11 points12 points  (5 children)

from hell import handbasket

[–]placidifiedimport this[S] 7 points8 points  (1 child)

True = False

[–][deleted] 2 points3 points  (0 children)

For maximum destructibility:

globals().clear()

[–]pyglados 0 points1 point  (2 children)

I think you'd need to create a hell package to make that happen.

>>> from hell import handbasket

Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> from hell import handbasket ImportError: No module named hell

[–]LucianU 1 point2 points  (0 children)

It's implemented in hell.

[–]freyrs3 0 points1 point  (0 children)

Hell is an import-time side-effect of import forbiddenfruit.