]> granicus.if.org Git - python/commit
SF bug #1153075: "PyXxx_Check(x) trusts x->ob_type->tp_mro".
authorArmin Rigo <arigo@tunes.org>
Thu, 29 Dec 2005 17:07:39 +0000 (17:07 +0000)
committerArmin Rigo <arigo@tunes.org>
Thu, 29 Dec 2005 17:07:39 +0000 (17:07 +0000)
commit037d1e0ff38f4ae2867c4b90d263ecd8aa2df585
tree327d4acac79a49988505edca603e7475833a3d87
parentf5bd3b442dd378563036f51595a7d6b2a239f4d5
SF bug #1153075: "PyXxx_Check(x) trusts x->ob_type->tp_mro".

A patch by mwh to check that user-defined mro's are reasonable
enough.
Lib/test/test_descr.py
Objects/typeobject.c