ó o®¸Qc@ssdZdefd„ƒYZdefd„ƒYZdefd„ƒYZedefideƒ6ƒZejGHd S( sR There is a way to put keys of any type in a type's dictionary. I think this allows various kinds of crashes, but so far I have only found a convoluted attack of _PyType_Lookup(), which uses the mro of the type without holding a strong reference to it. Probably works with super.__getattribute__() too, which uses the same kind of code. tMyKeycBseZd„Zd„ZRS(cCs tdƒS(Ntmykey(thash(tself((s3/sys/lib/python2.7/test/crashers/loosing_mro_ref.pyt__hash__ scCsCtft_g}x*tdƒD]}|j|ddfƒqWdS(Nièiÿÿÿÿ(tBase2tXt __bases__trangetappendtNone(Rtothertzti((s3/sys/lib/python2.7/test/crashers/loosing_mro_ref.pyt__cmp__ s  (t__name__t __module__RR(((s3/sys/lib/python2.7/test/crashers/loosing_mro_ref.pyR s tBasecBseZdZRS(s from Base(RRR(((s3/sys/lib/python2.7/test/crashers/loosing_mro_ref.pyRsRcBseZdZRS(s from Base2(RRR(((s3/sys/lib/python2.7/test/crashers/loosing_mro_ref.pyRsRiN(t__doc__tobjectRRRttypeRR(((s3/sys/lib/python2.7/test/crashers/loosing_mro_ref.pyts