[PyQt] Always call pyqtRemoveInputHook()? (Or check if running
under pdb)
Phil Thompson
phil at riverbankcomputing.com
Tue Feb 19 14:31:53 GMT 2008
On Tuesday 19 February 2008, Adeodato Simó wrote:
> 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,
It's always safe to call it.
Phil
More information about the PyQt
mailing list