In QtCore.py, there are several lines where QTextStreamManipulator.exec_ is defined for PyQt5, PyQt6, and PySide6:
QTextStreamManipulator.exec_ = lambda self, *args, **kwargs: self.exec(*args, **kwargs)
However, in neither PyQt5 nor PyQt6 has QTextStreamManipulator.exec or QTextStreamManipulator.exec_ method. So, the fix-up makes no sense. So does the test part.
I'm far too lazy to dig for the origins of the lines. But still, as they don't help, should they be removed?
In
QtCore.py, there are several lines whereQTextStreamManipulator.exec_is defined for PyQt5, PyQt6, and PySide6:However, in neither PyQt5 nor PyQt6 has
QTextStreamManipulator.execorQTextStreamManipulator.exec_method. So, the fix-up makes no sense. So does the test part.I'm far too lazy to dig for the origins of the lines. But still, as they don't help, should they be removed?