Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-06 Thread V. Armando Sole
On 06.05.2013 21:46, Baz Walter wrote: If your code is already working well with Qt4/PyQt4, why give yourself the unnecessary hassle of porting it to Qt5/PyQt5? As far as I understood from previous messages, it did not seem very clear to me up to what point PyQt4 will support the Android p

Re: [PyQt] sipForceConvertToType and Unicode in PyKDE4

2013-05-06 Thread Phil Thompson
On Mon, 06 May 2013 20:20:11 +0200, Luca Beltrame wrote: > Hello, > > > recently it turned out that KLocalizedString in PyKDE4 is not working > properly > in Python 3 and Python 2. The code path hasn't changed since 2008.

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-06 Thread Phil Thompson
On Mon, 6 May 2013 20:17:59 +0200, Erik Janssens wrote: > Hello Phil, > > could you possibly give some explanations for > > "The GIL is only released when it is known to be needed. PyQt4 always > released the GIL when calling Qt." The GIL only needs to be released if the Qt call blocks (eg. wh

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-06 Thread Phil Thompson
On Mon, 06 May 2013 19:51:01 +0200, "V. Armando Sole" wrote: > On 06.05.2013 18:44, Phil Thompson wrote: >> On Mon, 06 May 2013 18:24:59 +0200, "V. Armando Sole" >> wrote: >>> On 06.05.2013 16:49, Phil Thompson wrote: >>> If so, is to remove it an absolute necessity? >> >> Nothing is absolutely n

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-06 Thread Baz Walter
On 06/05/13 18:51, V. Armando Sole wrote: On 06.05.2013 18:44, Phil Thompson wrote: On Mon, 06 May 2013 18:24:59 +0200, "V. Armando Sole" wrote: On 06.05.2013 16:49, Phil Thompson wrote: If so, is to remove it an absolute necessity? Nothing is absolutely necessary - but I see no reason to

[PyQt] sipForceConvertToType and Unicode in PyKDE4

2013-05-06 Thread Luca Beltrame
Hello, recently it turned out that KLocalizedString in PyKDE4 is not working properly in Python 3 and Python 2. The code path hasn't changed since

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-06 Thread Erik Janssens
Hello Phil, could you possibly give some explanations for "The GIL is only released when it is known to be needed. PyQt4 always released the GIL when calling Qt." Thanks, Erik On Mon, May 6, 2013 at 4:49 PM, Phil Thompson wrote: > The first PyQt5 snapshots are now available. You will need th

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-06 Thread V. Armando Sole
On 06.05.2013 18:44, Phil Thompson wrote: On Mon, 06 May 2013 18:24:59 +0200, "V. Armando Sole" wrote: On 06.05.2013 16:49, Phil Thompson wrote: If so, is to remove it an absolute necessity? Nothing is absolutely necessary - but I see no reason to keep the old, verbose, error prone way of

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-06 Thread Phil Thompson
On Mon, 06 May 2013 18:24:59 +0200, "V. Armando Sole" wrote: > Hello, > > On 06.05.2013 16:49, Phil Thompson wrote: >> >> Still to do: >> >> - Removal of support for old-style connections. >> > > Does this mean that things like this will not work? > > ... > class MyWidget(QWidget): > def e

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-06 Thread V. Armando Sole
Hello, On 06.05.2013 16:49, Phil Thompson wrote: Still to do: - Removal of support for old-style connections. Does this mean that things like this will not work? ... class MyWidget(QWidget): def emitMySignal(self, mydDct): self.emit(QSignal('MyWidgetSignal', myDict) a = MyWidg

[PyQt] ANN: PyQt5 Snapshots Available

2013-05-06 Thread Phil Thompson
The first PyQt5 snapshots are now available. You will need the current SIP snapshot. PyQt5 can be installed alongside PyQt4. I welcome any suggestions for additional changes - as PyQt5 is not intended to be compatible with PyQt4 it is an opportunity to fix and improve things. Current changes from