diff options
author | Armin Rigo <arigo@tunes.org> | 2009-09-03 19:42:03 (GMT) |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2009-09-03 19:42:03 (GMT) |
commit | f866fbb3035d234dcdd960e6d0a46e359eaad344 (patch) | |
tree | 49f13711828138b32a6ca6c2f0eb86435d731223 /Lib/test | |
parent | f41669049039a2035acb8647ae7604e27a6bf6c5 (diff) | |
download | cpython-f866fbb3035d234dcdd960e6d0a46e359eaad344.zip cpython-f866fbb3035d234dcdd960e6d0a46e359eaad344.tar.gz cpython-f866fbb3035d234dcdd960e6d0a46e359eaad344.tar.bz2 |
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...
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/crashers/new_logic.py | 10 |
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 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() |