-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.9.1
-
None
-
d563bfbd2 (dev), 4dd787272 (6.9), aecac559a (tqtc/6.9.2), 257fed9da (dev), 9476875e1 (6.9)
The difference between Python Sequences and Iterables is that Sequences have a length while Iterables do not need to have a length.
Type hints for QComboBox.addItems require a Sequence while at runtime, it works with Iterables, too, see attached code.
The type hint could/should be modified to accept Iterable instead of only Sequence.
- relates to
-
PYSIDE-641 Segmentation fault when adding certain kinds of classes to userData
-
- Closed
-
For Gerrit Dashboard: PYSIDE-3140 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
664021,1 | pyi: Use Sequence[str] | Iterable[str] for QStringList | dev | pyside/pyside-setup | Status: NEW | 0 | 0 |
664127,4 | WIP: Remove QStringList type | dev | pyside/pyside-setup | Status: NEW | -2 | +1 |