Type checking fixes

Phil Thompson phil at riverbankcomputing.com
Mon Jul 13 17:49:21 BST 2026


On 09/07/2026 18:51, Kovid Goyal wrote:
> Hi Phil,
> 
> I would appreciate it if a few minor type check fies could be made in
> PyQt. Detailed below:
> 
> QBytearray should have the method
> 
>     def __buffer__(self, flags: int, /) -> memoryview: ...

This is now fixed in SIP.

> pyqtBoundSignal's connect method is missing the type parameter.
> 
> There is no pyqtProperty, this is a basic one I came up with

[snip]

Both now fixed in PyQt5 and PyQt6.

Thanks,
Phil


More information about the PyQt mailing list