This is actually a bug in Nagstamon, discovered by PyQt getting
stricter about correct @pyqtSlot signatures.

I'm guessing you don't see this with other platforms because you're
running Qt 5.6 but not PyQt 5.6 there, which is where this behaviour
was added:

https://www.riverbankcomputing.com/static/Downloads/PyQt5/ChangeLog
(d58baf1a1473, "Connecting to a decorated method will now fail without
a compatible signature.")

Nagstamon has a slot decorated with @pyqtSlot(str, bool) and connects
it to a str/QString signal:

https://github.com/HenriWahl/Nagstamon/blob/master/Nagstamon/QUI/__init__.py#L3925
https://github.com/HenriWahl/Nagstamon/blob/master/Nagstamon/QUI/__init__.py#L3904-L3905

This was silently ignored in PyQt < 5.6 and is an error with 5.6.

Nagstamon's authors should add a @pyqtSlot(str) decoration to that
slot and also fix other slots with the same issue as necessary.

Florian

-- 
http://www.the-compiler.org | [email protected] (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to