Message11546

Author behackett
Recipients behackett
Date 2017-08-25.02:59:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503629958.14.0.591493713087.issue2618@psf.upfronthosting.co.za>
In-reply-to
Content
This is a regression from Jython 2.7.0. socket.sendall is just an alias for socket.send. In 2.7.0 this doesn't appear to cause any problems as sendall seems to consistently send all the bytes given to it. This is no longer the case in 2.7.1. The regression seems to be caused by the changes for http://bugs.jython.org/issue2508.

This is a serious regression that will break any library using socket.sendall. socket.sendall in CPython only returns None or raises if there is an error. It blocks until all data is sent.

Repro script attached.
History
Date User Action Args
2017-08-25 02:59:18behackettsetrecipients: + behackett
2017-08-25 02:59:18behackettsetmessageid: <1503629958.14.0.591493713087.issue2618@psf.upfronthosting.co.za>
2017-08-25 02:59:17behackettlinkissue2618 messages
2017-08-25 02:59:17behackettcreate