diff options
| author | Ece Cinucen <ece.cinucen@qt.io> | 2025-02-19 15:52:51 +0100 |
|---|---|---|
| committer | Ece Cinucen <ece.cinucen@qt.io> | 2025-02-27 16:00:22 +0100 |
| commit | f351f1e572d2712c735a361b08e45eeb4149f25f (patch) | |
| tree | 3dd8b8c793c8f39c0b0d0fce51b8d57d2fb2b551 /sources/pyside6/libpyside/class_property.cpp | |
| parent | 34b812b6495681d088ce3294a709f25085f6ed87 (diff) | |
Improve type annotations, fixing old Python versions
When trying to change typing.Sequence to collections.abc.Sequence
the remarkable incompatibilities with certain Python versions came up:
Python < 3.10.1 or Python 3.9.8
produces wrong annotations.
Solution: The inspect module needed patching.
Change-Id: Ifdf4990477ea7478c0027c899d21d1848a83c807
Pick-to: 6.8
Task-number: PYSIDE-3012
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Ece Cinucen <ece.cinucen@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/libpyside/class_property.cpp')
0 files changed, 0 insertions, 0 deletions
