Kaydet (Commit) ffd0dc1e authored tarafından Armin Rigo's avatar Armin Rigo

Sorry, sorry! Ignore my previous two commits. I mixed up the version

of python with which I tried running the crashers.  They don't crash
the current HEAD.
üst f866fbb3
"""
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()
"""
Infinite C recursion involving PyObject_GetAttr in slot_tp_new.
"""
class X(object):
class __metaclass__(type):
pass
__new__ = 5
X.__metaclass__.__new__ = property(X)
print X()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment