mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
f866fbb303
commit
ffd0dc1e8b
|
@ -1,10 +0,0 @@
|
|||
"""
|
||||
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()
|
|
@ -1,11 +0,0 @@
|
|||
"""
|
||||
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()
|
Loading…
Reference in New Issue