[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Issue with latest development snapshot handling None type argument
From:       Detlev Offenbach <detlev () die-offenbachs ! de>
Date:       2023-07-21 7:47:48
Message-ID: 10c7c5b2-5b9b-14f9-3c6d-abe641d1e3fc () die-offenbachs ! de
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]

[Attachment #4 (multipart/mixed)]

[Attachment #6 (text/plain)]

Hi,

I just tried latest development snapshot and observed an issue. If the 
argument to QLabel.setText() is None, it throws an exception.

<class 'TypeError'>:
setText(self, a0: Optional[str]): argument 1 has unexpected type 'NoneType'

That works OK with PyQt 6.5.1. What am I doing wrong?

Regards,
Detlev

-- 
Detlev Offenbach
detlev@die-offenbachs.de


["OpenPGP_0xBD1F26A5DA8A6150.asc" (application/pgp-keys)]
["OpenPGP_signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic