Am Fri, 18 Jun 2021 10:42:58 +0100
schrieb Andrew Cooper <andrew.coop...@citrix.com>:

> This is a Py2 vs Py3 difference.

This script is not ready for python 3.

At a first glance it is the usual type confusion.
It seems the type 'bytearray' exists in both variants.
Perhaps stream_read() should return such an object, instead of either 'str' or 
'bytes'.
I'm sure there are more pitfalls.

Olaf

Attachment: pgpHJ48ymqZvs.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to