Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-07 Thread Gour
On Tue, 07 May 2013 10:56:14 +0100 Phil Thompson wrote: > Yes - except for signals and connections, and QString and QVariant > handling. OK. > However as these differences are things you'd come across very > quickly it might be better to start with PyQt4 but switch to PyQt5 as > soon as you sta

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-07 Thread Phil Thompson
On Tue, 7 May 2013 10:53:06 +0200, Gour wrote: > On Mon, 06 May 2013 21:47:25 +0100 > Phil Thompson wrote: > > Hello Phil, > >> So stick with PyQt4, it's not going away. > > If I'm just about to start learning PyQt and would like to use PyQt5 is > "Rapid GUI with PyQt" book (which I own) sti

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-07 Thread Gour
On Mon, 06 May 2013 21:47:25 +0100 Phil Thompson wrote: Hello Phil, > So stick with PyQt4, it's not going away. If I'm just about to start learning PyQt and would like to use PyQt5 is "Rapid GUI with PyQt" book (which I own) still mostly relevant? Sincerely, Gour -- While contemplating th

Re: [PyQt] ANN: PyQt5 Snapshots Available

2013-05-07 Thread Phil Thompson
On Tue, 07 May 2013 04:42:01 +0200, "V. Armando Sole" wrote: > 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

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] 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

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