[Python-modules-commits] [python-qt4] 01/02: Fix building the extensions for debug interpreter
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Sat Feb 18 19:15:51 UTC 2017
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch master
in repository python-qt4.
commit 11c61855b641a55547acb9843a7750a7331a25b5
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Thu Feb 16 12:46:49 2017 +0300
Fix building the extensions for debug interpreter
Patch-Name: debug_interpreter.diff
---
configure.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.py b/configure.py
index 24ad011..6844e6e 100644
--- a/configure.py
+++ b/configure.py
@@ -1445,6 +1445,10 @@ def set_sip_flags(pyqt):
sip_flags.append("-x")
sip_flags.append("Py_v3")
+ # Generate code for a debug build of Python if needed.
+ if hasattr(sys, "gettotalrefcount"):
+ sip_flags.append("-D")
+
qt_sip_flags.extend(sip_flags)
# There is an issue creating QObjects while the GIL is held causing
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-qt4.git
More information about the Python-modules-commits
mailing list