[Python-Dev] noreply@sourceforge.net: [Python-bugs-list] [Bug #111620] lots of use of send() without verifyi ng amount of d

Gordon McMillan gmcm@hypernet.com
Fri, 11 Aug 2000 08:32:44 -0400


[bug report] 
> Details: a quick grep of the standard python library (below)
> shows that there is lots of unchecked use of the send() 
> function.
[Guido]
> I just noticed this.  Is this true?  Shouldn't we change send()
> to raise an error instead of returning a small number?  (The
> number of bytes written can be an attribute of the exception.)

No way! You'd break 90% of my sockets code! People who 
don't want to code proper sends / recvs can use that sissy 
makefile junk.

- Gordon