From: Armin Rigo Date: Thu, 3 Sep 2009 19:42:03 +0000 (+0000) Subject: Does not terminate: consume all memory without responding to Ctrl-C. X-Git-Tag: v2.7a1~593 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f866fbb3035d234dcdd960e6d0a46e359eaad344;p=python 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... --- 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()