��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.pyt<module>s
|