]> granicus.if.org Git - python/commitdiff
Does not terminate: consume all memory without responding to Ctrl-C.
authorArmin Rigo <arigo@tunes.org>
Thu, 3 Sep 2009 19:42:03 +0000 (19:42 +0000)
committerArmin Rigo <arigo@tunes.org>
Thu, 3 Sep 2009 19:42:03 +0000 (19:42 +0000)
I am not too sure why, but you can surely find out by gdb'ing a bit...

Lib/test/crashers/new_logic.py [new file with mode: 0644]

diff --git a/Lib/test/crashers/new_logic.py b/Lib/test/crashers/new_logic.py
new file mode 100644 (file)
index 0000000..1ae1ff0
--- /dev/null
@@ -0,0 +1,10 @@
+"""
+Does not terminate: consume all memory without responding to Ctrl-C.
+I am not too sure why, but you can surely find out by gdb'ing a bit...
+"""
+
+class X(object):
+    pass
+
+X.__new__ = X
+X()