-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Description
Hey @florianlink , @sboehmann ,
I've try to build a .pyi stub file (PEP 484) generator for the PythonQt module. I have to introspect the objects via dir function, but that's the same approach as PySide2 has. My main problem is that I can not get the slots information to get all overloads (and also not from __init__). When I call and PythonQt function wrong, I always get an ValueError with the possible slots, which would be exactly the content I need, but throw an exception for every PythonQt module, class, method, etc. is extremely slow.
Is there any possiblity (maybe via patch) to get to this information without raising an error per PythonQt object?
The information seems to be stored in PythonQtSlot.cpp.
Any idea, help?
Thanks in advance
Tonka
Metadata
Metadata
Assignees
Labels
No labels