[PyQt] Always call pyqtRemoveInputHook()? (Or check if running under pdb)

Adeodato Simó dato at net.com.org.es
Tue Feb 19 14:05:29 GMT 2008


Hello.

Reading the list archives, I found that to successfully run a PyQt
application under pdb, one should call pyqtRemoveInputHook().

However, I can't figure out how the application can check if it's
running under pdb, in order to make that call.

So, does anybody how can I check if my app is running under pdb or, if
not, if it'd be safe to always call pyqtRemoveInputHook()?

Thanks,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                                     Listening to: Dido - Marys In India



More information about the PyQt mailing list