PyQt6 and QSocketNotifier

Florian Bruhin me at the-compiler.org
Wed Jan 13 22:18:32 GMT 2021


On Wed, Jan 13, 2021 at 08:30:35PM +0300, Dmitry Shachnev wrote:
> Hi Phil!
> 
> On Wed, Jan 13, 2021 at 11:44:28AM +0000, Phil Thompson wrote:
> > I omitted it because of the use of the undocumented QSocketDescriptor of the
> > activated() signal, without which the class is useless. However, on
> > checking, the API hasn't changed since Qt5. So I've restored it with the
> > same API. I don't know whether or not it works properly but at least it is
> > consistent with PyQt5.
> 
> Thank you! In PyQt5 I am using the activated() signal but not its argument,
> so the existing behavior is fine for me.

Same here FWIW - I wouldn't call it useless at all, the argument is only
needed if you're using it to watch multiple sockets at once (which I
don't).

Florian

-- 
            me at the-compiler.org | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210113/3d19e6c2/attachment.sig>


More information about the PyQt mailing list