[PyQt] Add Unix signal handler class to PyQt

Kovid Goyal kovid at kovidgoyal.net
Tue Aug 2 12:32:15 BST 2016


On Tue, Aug 02, 2016 at 01:34:10PM +0530, Kovid Goyal wrote:
> Well, I just looked at the docs for set_wakeup_fd and at least for
> python >= 3.5 it supports sockets on windows, so it should be possible
> to make it work there as well.

It was a trivial 30 line pure python patch for python 3.5+
https://github.com/kovidgoyal/vise/commit/dea70aa951aac1de521a22c900a4caf221d5eecf

Works on Unix and windows (although I have to get around to testing the
windows version when I have a moment).

Since my projects with older versions have compiled extensions anyway, I'll
just use my own C++ code for them.

Kovid.

-- 
_____________________________________

Dr. Kovid Goyal 
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________


More information about the PyQt mailing list