Re: [Tutor] pyqt __del__ race conditions in subclassed form

2016-02-29 Thread Alan Gauld
On 29/02/16 16:22, CMG Thrissur wrote: > This below given code is giving a race condition, i.e. sometimes gives > the result as expected, sometimes gives error, sometimes just does > nothing. Don't use the __del__ method for that kind of code, put it in the close event handler. You don't know w

[Tutor] pyqt __del__ race conditions in subclassed form

2016-02-29 Thread CMG Thrissur
Hello, This below given code is giving a race condition, i.e. sometimes gives the result as expected, sometimes gives error, sometimes just does nothing. It is part of a subclassed qt form which i am using as main dialog. This behaviour occurs when i close the dialog whereby ending the appl