Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
6.1.3
-
None
-
bee4cd31d60f3b35a37a2eb98fdfc60ba76cfe1c (pyside/pyside-setup/dev) ec3a7035e8415e8b9067519069c6f5b1cfde15df (pyside/pyside-setup/6.2)
Description
When the `true_property` feature import is used, the `singleShot` property overwrites the static method with the same name
>>> from PySide6 import QtCore >>> QtCore.QTimer.singleShot <built-in method singleShot of Shiboken.ObjectType object at 0x000001B802A145A0> >>> from __feature__ import true_property >>> QtCore.QTimer.singleShot <property object at 0x000001B80499DCC0>
Qt 6.2.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 9.3.0) Traceback (most recent call last): File "pyside1670.py", line 14, in <module> QTimer.singleShot(1000, window.close) TypeError: 'property' object is not callable
Attachments
Issue Links
- relates to
-
PYSIDE-1765 Widget subclass' minimumSizeHint not called with true_property feature enabled
- Closed
For Gerrit Dashboard: PYSIDE-1670 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
378545,6 | __feature__: handle properties with function overloads | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
378937,2 | __feature__: handle properties with function overloads | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |