summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/test/crashers/new_logic.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/crashers/new_logic.py b/Lib/test/crashers/new_logic.py
new file mode 100644
index 0000000000..1ae1ff05f6
--- /dev/null
+++ b/Lib/test/crashers/new_logic.py
@@ -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()