[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: some work on type hint stubs
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2020-10-10 9:25:56
Message-ID: 6d0da2c0b07b5895e8f2ab542c7e2c23 () riverbankcomputing ! com
[Download RAW message or body]
On 09/10/2020 23:54, Kyle Altendorf wrote:
> On 2020-10-09 17:14, Phil Thompson wrote:
>> On 09/10/2020 20:04, Kyle Altendorf wrote:
>>> Hi Phil,
>>>
>>> There's been some work over in PyQt5-stubs [0] recently. It is now
>>> passing mypy --strict (with 180 reviewed ignores) and we are working
>>> through the complaints from stubtest (mostly enumeration __new__
>>> signatures are left). Not that automated generic checks catch
>>> everything, but they are pieces of the puzzle. Perhaps this work
>>> could be useful as a reference for some changes to the official stub
>>> generation. If you would be interested in any help enhancing the
>>> official stubs, let us know how.
>>>
>>> Cheers,
>>> -kyle
>>>
>>>
>>> [0] https://github.com/stlehmann/PyQt5-stubs
>>
>> I wasn't aware of this. It's on my list for SIP v6 to review the
>> support for stubs as it hasn't much changed much since it was first
>> implemented.
>
> Since you mention SIP v6, would you expect to make corrections for
> future PyQt5 releases? Or just PyQt6? I'll admit I haven't been
> closely following plans.
These sort of fixes will benefit PyQt5 and PyQt6.
Phil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic