From 3e6dc3b046f7ea519859012e56113d66acf242ba Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 7 Aug 2017 23:32:45 +0200 Subject: [PATCH] Fix Python 3.2 compilation error --- dtool/src/interrogatedb/py_panda.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dtool/src/interrogatedb/py_panda.cxx b/dtool/src/interrogatedb/py_panda.cxx index 1abb34100b..7b920979ef 100644 --- a/dtool/src/interrogatedb/py_panda.cxx +++ b/dtool/src/interrogatedb/py_panda.cxx @@ -1148,7 +1148,9 @@ Dtool_NewStaticProperty(PyTypeObject *type, const PyGetSetDef *getset) { #if PY_MAJOR_VERSION >= 3 descr->d_common.d_type = type; descr->d_common.d_name = PyUnicode_InternFromString(getset->name); +#if PY_VERSION_HEX >= 0x03030000 descr->d_common.d_qualname = nullptr; +#endif #else descr->d_type = type; descr->d_name = PyString_InternFromString(getset->name);