Message13124

Author gbach
Recipients gbach
Date 2020-08-19.08:49:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597826967.94.0.164482691453.issue2894@roundup.psfhosted.org>
In-reply-to
Content
Inspired by my own workaround ;-)
Found the issue in _socket.py:

-    sendall = send   # FIXME see note above!

replace with:

    def sendall(self, data, flags=0):
        chunk_size = 8192
        length = len(data)
        data_view = memoryview(data)
        idx = 0
        while idx < length:
            bytes_sent = self.send(data_view[idx:idx + chunk_size], flags=flags)
            idx += bytes_sent

then all is working.

(Sorry for not making a proper Whatever-Git-Pull-Request/Hg-Thingy...)
History
Date User Action Args
2020-08-19 08:49:27gbachsetmessageid: <1597826967.94.0.164482691453.issue2894@roundup.psfhosted.org>
2020-08-19 08:49:27gbachsetrecipients: + gbach
2020-08-19 08:49:27gbachlinkissue2894 messages
2020-08-19 08:49:27gbachcreate