Commit f9dd0f19 authored by Neal Norwitz's avatar Neal Norwitz

Add test for SF bug # 575229, multiple inheritance w/ slots dumps core

Fix already checked in by Guido
parent a87a521b
......@@ -3237,6 +3237,16 @@ def slottrash():
o = trash(o)
del o
def slotmultipleinheritance():
# SF bug 575229, multiple inheritance w/ slots dumps core
class A(object):
__slots__=()
class B(object):
pass
class C(A,B) :
__slots__=()
C().x=2
def testrmul():
# SF patch 592646
if verbose:
......@@ -3344,6 +3354,7 @@ def test_main():
slices()
subtype_resurrection()
slottrash()
slotmultipleinheritance()
testrmul()
if verbose: print "All OK"
......
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