Priority: P3: Somewhat important
Affects Version/s: 5.15.0
Fix Version/s: None
First found on Manjaro ARM (aarch64), reproduced on Debian AMD64 in both cases using PySide 5.15.0 (latest final release at time of reporting)
If a keyword argument is passed to `QWaitCondition.wait` (even one I would expect to be valid) rather than raising `TypeError` as I would expect, it just pauses indefinitely.
It does not wake up for a `wakeAll` event. It does not cause an exception. It does not timeout like I would expect when passed the proper argument `time` (or `msecs`, which is what pyqt calls the variable... tried that too just in case)
When passed as positional arguments, it works as expected, but there is no communication that the arguments are intended to be positional only.
>>> from PySide2.QtCore import QWaitCondition, QMutex
>>> import PySide2
>>> m = QMutex()
>>> c = QWaitCondition()
>>> c.wait(m, 1000) # works as expected, returns after 1 second
>>> c.wait(m, time=1000) # hangs indefinitely, despite name matching argument name
>>> c.wait(m, clearly_fake_kwarg=1000) # hangs indefinitely, would expect TypeError