Re: [PyKDE] QMutexLocker doesn't unlock the mutex if an exception israised

2006-09-17 Thread Phil Thompson
On Saturday 16 September 2006 8:03 pm, Giovanni Bajo wrote: > Phil Thompson <[EMAIL PROTECTED]> wrote: > >> the Qt4/PyQt4 manuals specifically talk about using QMutexLocker to > >> simplify exception handling in functions. However, in PyQt the mutex > >> doesn't get unlocked if an exception is rais

Re: [PyKDE] QMutexLocker doesn't unlock the mutex if an exception israised

2006-09-16 Thread Giovanni Bajo
Phil Thompson <[EMAIL PROTECTED]> wrote: >> the Qt4/PyQt4 manuals specifically talk about using QMutexLocker to >> simplify exception handling in functions. However, in PyQt the mutex >> doesn't get unlocked if an exception is raised in the function code. >> I was wondering whether this is a bug o