aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2019-12-05 11:08:50 +0100
committerChristian Tismer <tismer@stackless.com>2019-12-05 13:29:47 +0100
commit37a1e27d49a6a1f7e45621e93a0f13a63fb20d9e (patch)
tree39bf592a178dbd99cd5ac84329d9bd68f082564e /tools
parent6776a3c4a9b60fac57db0486644086669fc98724 (diff)
Optimize the Python 3.8 refcount fix a tiny bit
This change uses the fact that our workaround to temporarily remove the Py_TPFLAGS_METHOD_DESCRIPTOR flag uses the "mro" function of PyType_Type, which never will change. Therefore, the static keyword makes sure that this function lookup happens only once. Change-Id: I44b74556da1fac2596c81339af30cb66218276e2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions