From f866fbb3035d234dcdd960e6d0a46e359eaad344 Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Thu, 3 Sep 2009 19:42:03 +0000 Subject: 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... --- Lib/test/crashers/new_logic.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Lib/test/crashers/new_logic.py diff --git a/Lib/test/crashers/new_logic.py b/Lib/test/crashers/new_logic.py new file mode 100644 index 0000000..1ae1ff0 --- /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() -- cgit v0.12