Re: Plans for PyQt6?

Florian Bruhin <[email protected]> Tue, 28 Apr 2020 20:34:23 +0200
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On Tue, Apr 28, 2020 at 08:28:32PM +0200, Grzegorz Bokota wrote:
> There are any plans to add Python stubs files in PyQt5 or PyQt6?

PyQt5 already comes with stub-files, though they are mostly optimized for IDE
completion rather than type checking.

There are community-maintained stubs for mypy here:
https://github.com/stlehmann/PyQt5-stubs

Right now, most of the conversions needed are manual, though there are some
ideas on how to further automate stuff floating around.

Phil: You mentioned at some point that the generator part of SIP is being
rewritten in Python as well, correct? I suppose this wouldn't be a good time
for contributions to SIP to improve stubs upstream then? Is there any rough
timeline on a Python-based SIP generator?

Florian

-- 
[email protected] (Mail/XMPP) | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAl6odysACgkQkW6wyP1V
oHJIdQ//ZYA2q0DVAUoM/WqfWFv/8gMtKWbIk+5G8XogaULfU7PfdgOg9MpzLPcz
QEbcombCuRWGGlFhL2Fwv5ibtvL6IpaNCHxWAcx5KVhVLAVQ0ENHKYNZAvr9xwFN
WYkyIBllYle82ut99bzmbDxriwMeSL+pD0uCB5y0Nbykr9wSf3B7E47vAKgH53/d
id7p2TRsv7WV8D7nsfEHBy+W59GPUcJ2H8c4EJiKPIBASJr7dmXrae/zuJZb/6ax
tcicwmbMxHHzMnUyAfm8pIlNOQkrtAnAENFhE2zzE4sKfZn/tgrKEV4Ngo3go+r5
6gmLqb6+TrA4Xzqt+DFTZLikI1RfBs8juyVvHlNNzMSYobOb7SARul+UYrM334Lt
K49JuVSi5RrvlLjg/FupofJ0YKwl2xqZkiacc+qrU+nr8Wk9AS72J3sb2MjuxJBk
kd0ZfeI4W7L8KnLuzGlSeizMp2troECy36VEEOjDNv4PThUo3uOrtVtZzXXkDR/m
tYFonnA6ik4hoQYNkysV7HtLJmvc76sDdqy8I80m3d7H3JNkTjilOL6UZfK1yL8a
f8V0ufAPiGfCosDhSaERU5X61ncZ0hdGP5DWi933nk5GVYDsZsJgjWuPIVek1QWH
g0Qy/VFBR157rKeNArVBT1BEqg4oeXHsKESTlJJ4L03K8isDeTY=
=OCbe
-----END PGP SIGNATURE-----