[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] PyQt5 5.7.1 Bug: debug build on Windows broken
From:       Dmitry Shachnev <mitya57 () ubuntu ! com>
Date:       2017-02-20 10:08:26
Message-ID: 20170220100826.ojewsebyy2ma2mw3 () mitya57 ! me
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


On Sun, Feb 19, 2017 at 01:32:34AM +0000, Phil Thompson wrote:
> There was no patch.

Oops. Really attached now.

> Note that the gap between PyQt4 releases is now measured in years.

No problem. Unfortunately we still have many packages using it in Debian,
so I still have to care about the patches.

--
Dmitry Shachnev

["debug_interpreter.diff" (text/x-diff)]

From 11c61855b641a55547acb9843a7750a7331a25b5 Mon Sep 17 00:00:00 2001
From: Dmitry Shachnev <mitya57@gmail.com>
Date: Thu, 16 Feb 2017 12:46:49 +0300
Subject: 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

["signature.asc" (application/pgp-signature)]
[Attachment #9 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic