Skip to content

QTextStreamManipulator has no exec method on PyQt5/6 #402

@StSav012

Description

@StSav012

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?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions