Details
-
User Story
-
Resolution: Done
-
P2: Important
-
None
-
5.6, 5.9, 5.11.0
-
None
Description
Shortly after the TP, people began to ask for type hinting as IDE support.
Since the signature extension exists now for quite a while, it makes sense
to interface somehow to IDEs.
Some IDEs can use the __signature__ property directly, which is most elegant
and provides more information by introspection.
For all other IDEs, Python Stub Files (.pyi) are generated during execution of
the setup.py script.
This task has low priority since it is itself debatable to be just nice-to-have,
but it puts a high impact on the correctness of several modules which are
connected to the signature extension.
Attachments
Issue Links
- relates to
-
PYSIDE-1008 PySide Does Not Find Some Imports On OpenSuse
- Closed
- replaces
-
PYSIDE-699 Skeletons for PyCharm.
- Withdrawn
For Gerrit Dashboard: PYSIDE-735 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
240547,12 | Create hinting stubs for Python IDEs | 5.12 | pyside/pyside-setup | Status: MERGED | -2 | 0 |
246537,18 | Generate Hinting Stubs Automatically | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
246728,7 | Activate existence_test.py for 5.12 | 5.12 | pyside/pyside-setup | Status: MERGED | -2 | 0 |
247723,2 | Fix locking in generate_pyi.py | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
247843,2 | generate_pyi.py: Add --quiet option | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
249164,3 | Fix a rare type hint racing condition | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
250342,3 | Run generate_pyi After Generation of All Binaries | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
261800,14 | generate_pyi: Simplify, Enhance and Get Rid Of Any Import Problems | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |