Staging
v0.5.1
https://github.com/python/cpython
Revision aadae7dae9fba62a65dede79bac8a12681f72ee4 authored by Anthony Baxter on 01 November 2001, 14:14:26 UTC, committed by Anthony Baxter on 01 November 2001, 14:14:26 UTC
  Add sendall() method, which loops until all data is written or an
  error occurs, and doesn't return a count.  (This is my second patch
  from SF patch #474307, with small change to the docstring for send().)

the 'partial' is because 1.188 also added a couple of Py_*_ALLOW_THREADS
wrappers around SSL_read and SSL_write, and I want to check those separately.

This is adding a new method to the socket object, which would normally
be a bad thing to do in a bugfix release - however, in this case, it
allows fixes for a nasty problem that would otherwise have a filthy
filthy fix to Get It Right. Still to-do is to patch the std library
modules to use sendall() where appropriate, rather than send().
1 parent 7aff5e4
History
Tip revision: aadae7dae9fba62a65dede79bac8a12681f72ee4 authored by Anthony Baxter on 01 November 2001, 14:14:26 UTC
partial backport of guido's 1.188.
Tip revision: aadae7d
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 2.2 KB
LICENSE -rw-r--r-- 11.5 KB
Makefile.pre.in -rw-r--r-- 21.8 KB
README -rw-r--r-- 37.7 KB
acconfig.h -rw-r--r-- 6.2 KB
config.h.in -rw-r--r-- 17.0 KB
configure -rwxr-xr-x 179.8 KB
configure.in -rw-r--r-- 36.7 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 25.1 KB

README

back to top