Banish dogs to the void

This commit is contained in:
2025-04-22 22:32:55 -07:00
parent ea46a56d34
commit 011a0948a5

View File

@@ -43,6 +43,11 @@ class Chaos:
sys.modules[n] = Dog
class Void:
def append(s, v):
v.__class__ = Chaos
sys.meta_path.insert(0, Chaos())
import gc
@@ -51,6 +56,9 @@ gc.disable()
with suppress(NamError):
heaven = a_place_on_earth() and god_is_a_girl()
hidden_place = [heaven]
heaven = Void()
if __name__ == "__main__":
Dog("Fido")
Dog("Rex")