[PyQt] PyQt5 5.7.1 Bug: debug build on Windows broken

Phil Thompson phil at riverbankcomputing.com
Tue Jan 10 15:32:14 GMT 2017


On 5 Jan 2017, at 8:50 pm, Mathias Born <mathias.born at gmx.de> wrote:
> 
> Phil,
> 
> It looks like the change to the limited Python API broke the
> debug build on Windows.
> I get error messages like:
> 
> c:\cpp\python\python-3.6.0\include\object.h(65): fatal error C1189: #error:
> Py_LIMITED_API is incompatible with Py_DEBUG, Py_TRACE_REFS, and
> Py_REF_DEBUG
> 
> That's a severe limitation for every program embedding Python and PyQt5,
> because the debug build of such a program must link to the debug version of
> Python
> and PyQt5.

Should be fixed in tonight's SIP and PyQt5 snapshots.

Fixes are also needed for other packages (a simple change to configure.py) but I haven't decided yet whether to make new releases.

Thanks,
Phil


More information about the PyQt mailing list