PyQt6 Process.readLine() missing

Phil Thompson phil at
Wed Feb 10 12:52:03 GMT 2021

On 10/02/2021 08:37, José Antonio Fernández Fernández wrote:
> In PyQt5 you can use the Process.readLine(size = 0) function without
> arguments, and it reads everything. In PyQt6 the size argument is 
> required.
> If I use Process.readLine(0) in PyQt6, it doesn't read anything.

I've restored the PyQt5 behaviour in the next snapshot, although I don't 
really like the idea of returning a different type (bytes or QByteArray) 
depending on the value of the argument.


More information about the PyQt mailing list