SIGN IN SIGN UP

The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.

Replaces calls to socket.send() (which isn't guaranteed to send all data)
with the new socket.sendall() method.
M
Martin v. Löwis committed
e12454f44afbb7d48aecb9d479fcb2fb4799499f
Parent: 976ade6