[Python-checkins] r74636 - python/trunk/Lib/test/crashers/new_logic.py

armin.rigo python-checkins at python.org
Thu Sep 3 21:42:03 CEST 2009


Author: armin.rigo
Date: Thu Sep  3 21:42:03 2009
New Revision: 74636

Log:
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...


Added:
   python/trunk/Lib/test/crashers/new_logic.py   (contents, props changed)

Added: python/trunk/Lib/test/crashers/new_logic.py
==============================================================================
--- (empty file)
+++ python/trunk/Lib/test/crashers/new_logic.py	Thu Sep  3 21:42:03 2009
@@ -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()


More information about the Python-checkins mailing list