<div dir="ltr"><div>I just discovered that the following comparison behaves differently on PyQt5 and PyQt6:</div><div><br></div><div><span style="font-family:monospace">None == QByteArray(b'\0')</span></div><div><br></div><div>In PyQt6 it properly returns False, but in PyQt5 it returns True, which I believe wrong, especially since the result is unchanged no matter what follows that first byte, which is obviously inappropriate.<br><br></div><div>I tested only on 5.15.10 and 6.7.1.<br></div><div><br></div><div>Best regards,<br></div><div>MaurizioB<br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">È difficile avere una convinzione precisa quando si parla delle ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi<br><a href="http://www.jidesk.net" target="_blank">http://www.jidesk.net</a></div></div>